05-15-2007 10:59 AM
Sure, here it is... I have no idea why this works and the above version does not. please note I have changed the code to analyze the string direct from the while loop instead of putting it all in an array and using that...but if I reconnect this same code where the Globals exist, the same thing happens again, it will not remove the commas.
heres an example of a message that I recieve:
2007,05,15,11,50,53,001322,L3,159,401.68042,-73.2 db,FF,FE,2F,F1,4A,B7,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,00
Andrew
05-15-2007 12:15 PM
smercurio_fc,
@smercurio_fc wrote:
You can use the "Filter 1D Array" to filter out the message you're looking for, and simply compare array sizes:
05-15-2007 01:17 PM
05-15-2007 02:35 PM
05-15-2007 02:44 PM
Instead of doing all that odd search/replace stuff, you should just feed this string to "Spreadsheet string to array", using a 1D DBL array as default type and comma a delimiter. You'll get an array of all numbers that you later can trim down using array subset. You can get any individual elements using index array.
@labstew wrote:
The string that comes out from the reciever is2007,05,15,11,50,53,001322,L3,159,401.68042,-73.2 db,FF,FE,2F,F1,4A,B7,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,00