Read/Write from a String

Andrew2009

Well Known Member
I have a pipe delimiter String as below

1|2|3|4|5

I want to do 2 things

1) I want to read value from it so if I pass in the String value and index 2, then it will return 2.

2) I want to modify the String value so if I want to change 1 to 11, then I will pass in the String value, index 1 and value 11 then the modified String value will be

11|2|3|4|5

Can I do this? I don't want to write a new C BSFN. I heard there are vanilla existing BSFNs that exist already.

Thanks
 
I found this bsfn B0500725 to do #1 so I'm good with #1.

Now I just need another one to update
 
Andrew,

I did a BSFN search for "Replace String in String" and that same BSFN was listed.
 
Frosty - You beat me to it.
grin.gif
 
Back
Top