Forum Discussion
apei78759
May 25, 2022Copper Contributor
Manipulate text between delimiters
How can I covert following: 78756||23456||12345 To: 787||234||123 I want the first 3 digits
apei78759
May 25, 2022Copper Contributor
Thank you! This works for string for 3 entries: 78756||23456||12345
But how about something that works regardless of the number of entries. For example, 5
78756||23456||12345||34567||09685
But how about something that works regardless of the number of entries. For example, 5
78756||23456||12345||34567||09685
Detlef_Lewin
May 25, 2022Silver Contributor
Try this.
=TEXTJOIN("||",TRUE,LEFT(FILTERXML("<y><z>"&SUBSTITUTE(A1,"||","</z><z>")&"</z></y>","//z"),3))- SergeiBaklanMay 25, 2022Diamond Contributor