Page 1 of 1

get sub-string from value

Posted: April 15th, 2024, 12:09 pm
by amari
Dear dev team,
I wanna get sub-string (split string in between) from my key value (a 25 character string value) to set up some value in my menu,I wanna get number of values based on my requirement in between. for example 10,15 etc.I could not find a keyword like other programing language. can some one help me.

Re: get sub-string from value

Posted: April 15th, 2024, 4:14 pm
by slwendo
Hi

You can find the sub-string how to in the link below

https://www.csprousers.org/help/CSPro/s ... sions.html.

Also - in case "where you want to split from" is dynamic depending on some value that you know ahead of time, you can use the POS function to figure out where that value starts in your main string.

I hope that helps.

Re: get sub-string from value

Posted: April 15th, 2024, 10:48 pm
by amari
Thanks lot