Skip to main content
DLiteScript
Playground
Documentation
DLiteScript - A Delightfully Simple Scripting Language
Documentation
Standard Library
strings Namespace
strings.trim
strings.trim
Removes whitespace from both ends of a string.
Examples
1
printf
(
"%s\n"
,
strings
.
trim
(
" hello "
))
// hello
Improve this page