[]Function sprig::strings::trunc

pub fn trunc(args: &[Value]) -> Result<Value, String>

Truncate a string (no suffix). trunc 5 "Hello World" yields "hello".