Skip to content

ends_with

In std/string.

fn ends_with(self, part: String) : Bool

Whether self ends with part: "hello" | ends_with("lo") is true.