What\'s the best way to remove the first word from a string in Java?
If I have
String originalString = \"This is a string\";
I want to r
You can check where is the first space character and seperate string.
String full = "Sample Text"; String cut; int pointToCut = full.indexOf( ' '); if ( offset > -1) { cut = full.substring( space + 1); }