Support Board
Date/Time: Mon, 25 Nov 2024 21:24:27 +0000
Post From: Parse a comma delimited string
[2024-02-05 02:47:14] |
Ticks - Posts: 183 |
Has anyone ever been able to parse a string and place the values into variables using SC code? An example would be: float FirstValue=0 ; float SecondValue=0 ; SCString inputString = "1,17945"; SCString delimiter = ","; Need to parse and place the values into the variables FirstValue= would be the 1 ; SecondValue= would be the 17945 ; Has anyone figured out how to do this? Could not find any examples in the ACS_Souce folder or even on the support board. |