trim_left

Function trim_left 

Source
pub fn trim_left(params: &[Value]) -> NativeResult
Expand description

Trims the whitespace of a Value::String on the left side of the String.

  • Declaration: trim_left(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.