Substring android studio code example
Example 1: android substring
String substr=mysourcestring.substring(startIndex);
Example 2: android substring
String substr=mysourcestring.substring(mysourcestring.indexOf("characterValue") + 1);
Example 3: android substring
String hallostring = "hallo";
String asubstring = hallostring.substring(0, 1);