pub fn trim(params: &[Value]) -> NativeResultExpand description
Trims the whitespace of a Value::String on both sides.
- Declaration:
trim(text: String): String
ยงErrors
Will return NativeError::WrongParameterCount if there is a mismatch in the supplied parameters.
Will return NativeError::WrongParameterType if the the supplied parameters have the wrong type.