remove first element of sting code example
Example 1: remove first character from string
String str = "Hello World";
String str2 = str.substring(1,str.length());
Example 2: how to remove first letter of a string
s = "hello"
print s[1:]
String str = "Hello World";
String str2 = str.substring(1,str.length());
s = "hello"
print s[1:]