DLiteScript

strings.trim

Removes whitespace from both ends of a string.

Examples

1
printf("%s\n", strings.trim("  hello  ")) // hello