Is there a way to remove last characters from String, if number of characters are for example divisible by 4?
Something like this:
rem = mod(text,4);text = text(1:end- rem);
Code above does not work.
For example if length of text would be 23 chars, I would like to remove last 3 chars and create new String.
Thanks
Best Answer