V
VM
How can I truncate a string? For example, if I have a string containing
"Hello All" but the space reserved for this string is of 4 chars, how can I
truncate it to "Hell"? Would I need to create my own method for this or is
there an exisiting String method that does it?
Thanks
"Hello All" but the space reserved for this string is of 4 chars, how can I
truncate it to "Hell"? Would I need to create my own method for this or is
there an exisiting String method that does it?
Thanks