Functionsends_withVersion: v4.24On this pageends_withChecks if a string ends with a specified substring.ends_with(x:string, suffix:string) -> boolDescriptionThe ends_with function returns true if x ends with suffix and false otherwise.ExamplesCheck if a string ends with a substringfrom {x: "hello".ends_with("lo")}{x: true}See Alsostarts_with