[Jo...] Posted yesterday at 07:15 PM Share Posted yesterday at 07:15 PM I have a string that has 5 elements separated by a "|". I am trying to split this up and have 5 text boxes to put them into to format (make it look pretty) on the report instead of trying to do it with PCM in calypso.... basically a header variable in 5 chunks separated by a "|" and want to have 5 boxes to put each chuck into it. I have search but cant find this topic (maybe i missed it). It would be easier if PiWeb had a strElement() like PCM...... Link to comment Share on other sites More sharing options...
[Ma...] Posted 14 hours ago Share Posted 14 hours ago You can divide your text by a divider - it should be in string section. It will give you a list, from which you can extract N-th item. Function "Trim" will remove your whitespaces if you have them at separators So here is a sample: String operations -> Split string by separator List operations -> N-th item ( first item starting by "0" ) Here is a sample code: Result: "Your" Please sign in to view this quote. 1 Link to comment Share on other sites More sharing options...
[Jo...] Posted 10 hours ago Author Share Posted 10 hours ago I thought I tried that but I will try again... Thank you... Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in