ends_with

Function ends_with 

Source
pub fn ends_with(text: string, pattern: string) -> bool
Expand description

Tells if string ends with a pattern.