Split text from sentence
Suppose you have sentence as 'my name is : radical' and you want only radical text from whole sentence, use below code
store | my name is : radical | string
store | 1 | delimiter
store | javascript{storedVars['string'].split('is :')[storedVars['delimiter']]} | name
echo | ${name}store | 1 | delimiter
store | javascript{storedVars['string'].split('is :')[storedVars['delimiter']]} | name
What if I want to use text BEFORE specified string?
ReplyDeleteI small change will work for you-
ReplyDeletestore | 0 | delimiter
Thank you!
ReplyDeletewhat if I want text as radica
ReplyDelete