Support Portal

for ProcessRobot and WinAutomation

Start a new topic

Extracting a right part of the delimiter ',' in a string using Regex and Javaxript

This Process will read a string (string has a delimiter ',') from the input dialogue and store them in one variable. 


Step1: Input string is entered using Input Dialog.


Step2: It searches for a delimeter ',' in the input string and get the position of the ',' in the given string using Regex.


Step3: substr method is used to get the right part of the string (i.e. Right part of string of the delimeter ',')

Eg:  "MechanicMontgomery, Alabama" is the input string.  Alabama is right part of the string.  

Substr uses the position that is got from Step2


Input:

--------

String with comma delimiter


Output:

--------

Right part of the string after the delimiter



waj

1 person likes this idea
Login or Signup to post a comment