String parsing issue
Michael king
Posts: 3
Letsa say I have a string
String = "ABCDEFG"
How would I strip the A off and use "BCDEFG"?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"I love the smell of solder in the morning"
String = "ABCDEFG"
How would I strip the A off and use "BCDEFG"?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"I love the smell of solder in the morning"
Comments
Now, s will be the address of an in situ byte array that looks like this: $41 $42 $43 $44 $45 $46 $47 $00. So, if you do:
t will point to the string starting with "B".
-Phil
IF buf[noparse][[/noparse]0]=="P"
····· text:=buf+1
······
Buf=PPP1250
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"I love the smell of solder in the morning"
-Phil
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"I love the smell of solder in the morning"