Skip to content

trim_suffix

In std/string.

fn trim_suffix(self, part: String) : String

self without part at its end, or self as it is when it does not end with it: "x.hql" | trim_suffix(".hql") is "x".