Java String Sub String substr(StringBuffer buf)

Here you can find the source of substr(StringBuffer buf)

Description

substr

License

Open Source License

Declaration

public static Object substr(StringBuffer buf) 

Method Source Code

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

public class Main {
    public static Object substr(StringBuffer buf) {
        return (buf == null || buf.length() <= 1 ? "" : buf.substring(0, buf.length() - 1));
    }/*from   www.  j av  a  2s  . c  o m*/
}

Related

  1. subStr(String str, int limit)
  2. subStr(String str, int maxLen)
  3. substr(String str, int startIndex, int length)
  4. substr(String substr1, String substr2)
  5. substr(String what, int begin, int end)
  6. substract(double[] a, double[] b)
  7. substract(double[] a, double[] b)
  8. substract(int[] array1, int[] array2)
  9. substract(Number n1, Number n2)