Java String Sub String substringAfter(String string, String delimiter)

Here you can find the source of substringAfter(String string, String delimiter)

Description

substring After

License

Open Source License

Declaration

public static String substringAfter(String string, String delimiter) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String substringAfter(String string, String delimiter) {
        int pos = string.indexOf(delimiter);
        return pos >= 0 ? string.substring(pos + delimiter.length()) : "";
    }/*from  w w  w .  ja  v  a  2  s .c  o m*/
}

Related

  1. substringAfter(String str, String delimiter)
  2. substringAfter(String str, String separator)
  3. substringAfter(String str, String separator)
  4. substringAfter(String str, String separator)
  5. substringAfter(String string, String delim)
  6. substringAfter(String template, String toFind, String defaultTo)
  7. substringAfter(String text, int index)
  8. substringAfter(String text, String after)
  9. substringAfter(String value, char delim)