endsWith
replace
trim
Returns a new string with all occurrences replaced.
str.replace(oldValue, newValue)