I searched the forums and the internet but I haven't been able to find anything for what I want to do. Is there any easy yet begginer(ish) way to remove the last char of a string.
For example:
If I have a string: canyou

I want to do this in a loop..


canyou
-----
canyo
-----
cany
-----
can
----
ca
----
c