java - Removing the first 3 characters from a string -
what efficient way remove first 3 characters of string?
for example:
'apple' change 'le' 'a cat' change 'at' ' b c'change 'b c'
just use substring: "apple".substring(3);
return le
what efficient way remove first 3 characters of string?
for example:
'apple' change 'le' 'a cat' change 'at' ' b c'change 'b c'
just use substring: "apple".substring(3);
return le
Comments
Post a Comment