What is fastest way to remove the last character from a string?
I have a string like
a,b,c,d,e,
I would like to remove the last ‘,’ and get the remaining string back:
OUTPUT: a,b,c,d,e
What is the fastest way to do this?
What is fastest way to remove the last character from a string?
I have a string like
a,b,c,d,e,
I would like to remove the last ‘,’ and get the remaining string back:
OUTPUT: a,b,c,d,e
What is the fastest way to do this?