Splitting string in the below way. Help needed

Hi Guys,

I am getting output from gettext as
“min 4000
max 10000”

I would like to split this into two strings. Can anyone please help with this?

Thanks and regards,
Vamsi

@vamsi_81087
give a try on following:

it splits the string into an array with 2 items

access to the different items can be done with e.g.
First String: yourStringArrayVar(0)

2 Likes

Thanks a lot. It’s working.
Is that same method if we have more than 2?

@vamsi_81087
yes the splitting is dynamic and will split on each found newline

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.