holstein Posted July 19, 2021 Share Posted July 19, 2021 Hi group, I have a long string and is comma separated, I made one single channel and read the long string, now I like to put every value in a variable display. The string looks like this 3.34uW, 3.08nW,calibrate, COUPLER, etc. Thanks, Johan Quote Link to comment Share on other sites More sharing options...
AzeoTech Posted July 21, 2021 Share Posted July 21, 2021 You can use the parse() function to split that into an array of items. Pass -1 for index to split the entire string: global string mydata = parse(myInput, -1, ",") Quote Link to comment Share on other sites More sharing options...
holstein Posted July 21, 2021 Author Share Posted July 21, 2021 This was the solution, thanks a lot people of Azeotech! Best regards, Johan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.