LoginLogin

PUSH,POP,SHIFT, and UNSHIFT work on strings!!!

Root / General / [.]

12Me21Created:
A$="TEST"
?POP(A$)
?A$
EDIT: also INC!
A$="TES"
INC A$,"T"
?A$
Example usage: reading a commma-separated list (A,B,C)
S$="A,B,C"
WHILE LEN(STRING$)
 NEXT$=SHIFT(STRING$)
 IF NEXT$==","THEN ?I$:I$=""ELSE INC I$,NEXT$
WEND
?I$

I thought this was commonly-known documented behavior already. sorry

I thought this was commonly-known documented behavior already. sorry
It's definitely not documented anywhere...

Then why not write a resource page about it? This isn't what the forums are for. sorry again

I didn't think there was enough material for a resource page. The entire thing can be said in one sentence.