0

Extract string before character occurrence

Hi everyone,

I need to extract text from a string until certain characters appear.

Example:
123865,12 → should return 123865

I just need everything on the left side, up to (but not including) the comma (,).

I’m not a coding expert, so I’d really appreciate any ideas or simple solutions to achieve this.

Thanks in advance!

2 replies

null
    • info.39
    • 5 days ago
    • Reported - view

    Hey,

    you can try first(split(yourInput, ","))
     

      • Carlos_Martinho
      • 5 days ago
      • Reported - view

      Hi,

      It woks! Thanks a lot.

Content aside

  • Status Answered
  • 5 days agoLast active
  • 2Replies
  • 24Views
  • 2 Following