get sub-string from value

Discussions about CSEntry
Post Reply
amari
Posts: 22
Joined: February 24th, 2024, 11:29 am

get sub-string from value

Post 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.
slwendo
Posts: 17
Joined: March 11th, 2017, 4:13 pm

Re: get sub-string from value

Post 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.
amari
Posts: 22
Joined: February 24th, 2024, 11:29 am

Re: get sub-string from value

Post by amari »

Thanks lot
Post Reply