Java String Chomp chomp(CharSequence prefix, CharSequence full)

Here you can find the source of chomp(CharSequence prefix, CharSequence full)

Description

chomp

License

Apache License

Declaration

public static CharSequence chomp(CharSequence prefix, CharSequence full) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static CharSequence chomp(CharSequence prefix, CharSequence full) {
        return full.subSequence(prefix.length(), full.length());
    }/*  w  ww. j  av  a2 s .  c o  m*/
}

Related

  1. chomp(final String s, final String suffix)
  2. chomp(String in)
  3. chomp(String inStr)
  4. chomp(String options)