trim static method

String trim(
  1. String input
)

Trims whitespace from start and end of string @param input The string to trim @returns String Trimmed string Example: PersianTools.trim(" hello ") => "hello"

Implementation

static String trim(String input) => input.trim();