how to eliminate the first char of a string c++ code example
Example 1: remove or erase first and last character of string c++
str.pop_back(); // removes last /back character from str
str.erase(str.begin()); // removes first/front character from str
Example 2: remove first character from string
String str = "Hello World";
String str2 = str.substring(1,str.length());