Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Declaring the length of a string
#3
(01-03-2021, 11:01 AM)boriel Wrote: You can do it all in a single sentence in most cases:
Code:
DIM a$, b$
a$="hello"
b$=a$(TO 2) + "p me!"
PRINT b$

Ah yes, that's what I was looking for thanks. It was a bit late, I couldn't get my head around it. Thanks, again! Smile
Reply


Messages In This Thread
Declaring the length of a string - by patters - 01-03-2021, 01:55 AM
RE: Declaring the length of a string - by boriel - 01-03-2021, 11:01 AM
RE: Declaring the length of a string - by patters - 01-03-2021, 06:09 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)