Selasa, 17 Maret 2020

Small Basic: How to count how many character of a string

Hello, small basic programmer, welcom.

How to count how many character of a string is easy. You can use text.getlength() operation, and save it to a variable and output it to textwindow using textwindow.writeline() operation.

For instance:
s = "Thanks Small Basic"
a = text.getlength(s)
textwindow.writeline(a)

Tidak ada komentar:

Posting Komentar