Answers for "how to remove the first element from a string"

4

remove first character from string

String str = "Hello World";
String str2 = str.substring(1,str.length());
Posted by: Guest on May-05-2020
6

remove first character from string python

s = ":dfa:sif:e"
print(s[1:])

prints:
  dfa:sif:e
Posted by: Guest on February-09-2021

Code answers related to "how to remove the first element from a string"

Code answers related to "Javascript"

Browse Popular Code Answers by Language