|
Post by honky on Apr 13, 2023 23:18:29 GMT
Good morning, I have an array of strings: name$(n). I would like to insert a space between the penultimate and the last character of each string. How to do please ? Thank you for.
|
|
whiskeyd
Member in Training
That that is is, that that is not is not, that that is not is not that that is.
Posts: 23
|
Post by whiskeyd on Apr 13, 2023 23:30:17 GMT
NewWord$ = LEFT$(String$, LEN(String$) - 1) + " " + MID$(String$, LEN(String$) - 1)
|
|
|
Post by plus on Apr 14, 2023 1:25:25 GMT
wrd$ = "I_am_an_inch_worm." for j = 1 to 72 for i = len(wrd$) to 1 step -1 cls print space$(j) +mid$(wrd$, 1, i) + " " + mid$(wrd$, i+1 , len(wrd$)-i) call pause 120 next next
sub pause mil 'tsh version has scan built-in t0 = time$("ms") while time$("ms") < t0 + mil : scan : wend end sub
|
|
|
Post by honky on Apr 14, 2023 8:16:41 GMT
Thank you "whiskeyd" And thank you "plus"
|
|