trimSuffix Trim just the suffix from a string: trimSuffix "-" "hello-" The above returns hello trimPrefixtrimallBack to top