remove first item in a string code example
Example 1: remove first character from string
String str = "Hello World";
String str2 = str.substring(1,str.length());
Example 2: remove first character from string python
s = ":dfa:sif:e"
print(s[1:])
prints:
dfa:sif:e
Example 3: how to remove first letter of a string
s = "hello"
print s[1:]