Removing the first 3 characters from a string
JavaStringJava Problem Overview
What is the most efficient way to remove the first 3 characters of a string?
For example:
'apple' change to 'le'
'a cat' change to 'at'
' a b c'change to 'b c'
Java Solutions
Solution 1 - Java
Just use substring: "apple".substring(3);
will return le