Java Utililty Methods String Chop Left

List of utility methods to do String Chop Left

Description

The list of methods to do String Chop Left are organized into topic(s).

Method

StringchopFromLeft(String text, char character, int count)
Chop the string off past the last stated occurrence of character
String target = text;
int inTotal = countOf(character, text);
if (inTotal > count && count > 0) {
    int total = count;
    int indexFrom = 0;
    int nextIndex = 0;
    while (total > 0) {
        nextIndex = text.indexOf(character, indexFrom);
...
StringchopLeft(String str, char delimiter)
chop Left
if (str == null || "".equals(str)) {
    return str;
int pos;
int len = str.length();
for (pos = 0; pos < len; pos++) {
    if (str.charAt(pos) != delimiter) {
        break;
...
StringChopLf(String this_string, String chomp_off)
Chop Lf
if (!this_string.contains(chomp_off))
    return this_string;
return this_string.substring(SeekLf(this_string, chomp_off.charAt(0)) + 1, this_string.length());