| Modifier and Type | Field and Description |
|---|---|
static String[] |
WHITESPACE_CHARS
Defines all the white spaces for all the different UTF-8 Character set.
|
| Constructor and Description |
|---|
Trimmer() |
| Modifier and Type | Method and Description |
|---|---|
static String |
ltrim(String input)
Remove leading characters which may be empty string,
space string,\t,\n,\r,\f...any space, break related characters.
|
static String |
rtrim(String input)
Remove trailing characters which may be empty string,
space string,\t,\n,\r,\f...any space, break related characters.
|
static String |
trim(String input)
Remove trailing and leading characters which may be empty string,
space string,\t,\n,\r,\f...any space, break related characters.
|
public static final String[] WHITESPACE_CHARS
public static String trim(String input)
input - - the input text.public static String ltrim(String input)
input - - the input text.Copyright © 2021 CDAP Licensed under the Apache License, Version 2.0.