We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Challenge 3 - Text reversal
#2
string = "Hello, World!"
length = Text.GetLength(string)
string2=""

For x = length To 1 step -1
string2= text.Append(string2,text.GetSubText(string,x,1))
endfor

TextWindow.WriteLine(string2)

JR
[-] The following 1 user Likes jrmrhrb00's post:
  • litdev
Reply


Messages In This Thread
Challenge 3 - Text reversal - by litdev - 09-02-2024, 10:14 PM
RE: Challenge 3 - Text reversal - by jrmrhrb00 - 09-03-2024, 01:41 PM
RE: Challenge 3 - Text reversal - by WhTurner - 09-03-2024, 01:49 PM
RE: Challenge 3 - Text reversal - by z-s - 09-03-2024, 02:30 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)