Skip to main content
Solved

Extract only the 2nd character, using LEFT function (or similar)

  • January 6, 2024
  • 4 replies
  • 37 views

Forum|alt.badge.img+10

Hi, I would like to extract only the 2nd character of a data field, to concatenate with another complete data field.

Can this be done please? Many thanks.

Best answer by Alexey_Gusev

Hi,
MID({Data}, 2, 1)   or   RIGHT(LEFT({Data},2))
some array data types like Lookup field, require converting to string like CONCATENATE({Data}) instead of {Data}

4 replies

Alexey_Gusev
Forum|alt.badge.img+25
  • Brainy
  • Answer
  • January 6, 2024

Hi,
MID({Data}, 2, 1)   or   RIGHT(LEFT({Data},2))
some array data types like Lookup field, require converting to string like CONCATENATE({Data}) instead of {Data}


Forum|alt.badge.img+10
  • Author
  • Inspiring
  • January 7, 2024

Fantastic. That works perfectly, thank you.


Follow-up Q if I may: Is it possible to force it to return only that character in lower-case?


Alexey_Gusev
Forum|alt.badge.img+25

Fantastic. That works perfectly, thank you.


Follow-up Q if I may: Is it possible to force it to return only that character in lower-case?


Sure. Just wrap your whole formula in LOWER( )


Forum|alt.badge.img+10
  • Author
  • Inspiring
  • January 9, 2024

Brilliant! Thank you. 🙏