string handling issue - latest version?


CamEra
 Share

Recommended Posts

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share