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