Discussions

Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?
Please note that on Saturday, June 22, 2024, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 60 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.

NSC | Extract Text/String separated by a symbol using a Formula

Scenario

User needs to separate the value of a field into 2 different columns

For example, the original value of the field is:

Hello, World

The required result is that "Hello" will be shown in one column and "World" in another column


Solution

To be able to separate the text before and after the comma, you can use these in a Formula (Text) field:

  • Text before the comma: REGEXP_SUBSTR({fieldid}, '[^,]*')
  • Text after the comma: REGEXP_SUBSTR({fieldid}, '[^,]*$')
Note: In this case, the separator is the comma symbol. If another symbol is used as the separator, just replace the comma in the [^,] part of the formula.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 2 (Apr-Jun 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders