Java String Trim Left leftTrim(String value)

Here you can find the source of leftTrim(String value)

Description

left Trim

License

Open Source License

Declaration

public static String leftTrim(String value) 

Method Source Code

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

public class Main {
    public static String leftTrim(String value) {
        int count = 0;
        while (Character.isWhitespace(value.charAt(count))) {
            count++;/*from  w  ww  .j  a v a 2s. c  o  m*/
        }
        return value.substring(count);
    }
}

Related

  1. leftTrim(String rawString)
  2. leftTrim(String str)
  3. lefttrim(String str)
  4. leftTrim(String str)
  5. leftTrim(String string)
  6. leftTrim(StringBuilder pStringBuilder)
  7. leftTrimSlashes(String s)
  8. ltrim(byte[] a)
  9. ltrim(CharSequence str)