Function sprig::strings::trim_suffix [−][src]
pub fn trim_suffix(args: &[Value]) -> Result<Value, FuncError>
Expand description
Golang’s strings.TrimSuffix, but with the argument order reversed:
trimSuffix "-" "ends-with-"