trim static method

String trim(
  1. String text
)

去除前后空白符

Implementation

static String trim(String text) {
  return text.trim();
}