CamEra Posted October 9, 2011 Share Posted October 9, 2011 Hi, These two lines //clean up the line by adding a comma before + or - so we can later split on commas cdata=replace(cdata,"+",",+") cdata=replace(cdata,"-",",-") clean up a string that initially looks like this 0+15.91+53.70+35.50+8.22 The idea is that the "+" or "-" are to be replaced with ",+" or ",-" so that it is easier to extract the individual components. These lines have been working perfectly until the last week or so. I am not sure that it isn't a problem with the latest version of DaqFactory as it has appeared since I upgraded. Can you test? Thanks George Link to comment Share on other sites More sharing options...
AzeoTech Posted October 10, 2011 Share Posted October 10, 2011 I did: ? replace("0+15.91+53.70+35.50+8.22","+",",+") at the command/alert window and got: 0,+15.91,+53.70,+35.50,+8.22 Looks correct to me. What did you get? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.