Answers for "how to cut the first char of 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
0

delete first char in a string

String data = "/culo"

data.Remove(0,1);
data.TrimStart('/');
data.Substring(1);
Posted by: Guest on August-17-2021

Code answers related to "how to cut the first char of string"

Code answers related to "Javascript"

Browse Popular Code Answers by Language