Posted 02 November 2012 - 08:42 PM
How do I shorten a string?
Ex:
string="thisisaprettylongstringindeed"
string=shorten(string,6)
print(string)
>thisis
Thanks in advance.
Ex:
string="thisisaprettylongstringindeed"
string=shorten(string,6)
print(string)
>thisis
Thanks in advance.