Hello again :) I noticed that my device sends me sonmetimes wrong codes... I made thousands measurement and there are about 5% wrong codes. Here is how a right code has to look like:
Normallly it's a long string but a made better looking for you. So there are 3 parts (every line) and every part starts with a "02" and ends with "0D 0A"
Right lenght but in the middle of the string is the wrong part...
Can I check something like: Contains the string 3 times the string "0D 0A"? I know the contains function but can I combine it with a count function? Would be awesome if you could give me hint :)
Edit: Regular Expressions has gone trough my mind and this came out:
Sam HobbsRank #107 · 20.5K reputationPosted Sep 9, 2010, 2:48 PM EDT
When you say "Can be closed", do you mean that your problem is solved?
Sascha B122 reputationPosted Sep 9, 2010, 9:02 PM EDT
oh good to know :)
Yeah my problem is solved.