method

remove

v4.1.8 - Show latest stable - Class: String
remove(pattern)
public

Returns a new string with all occurrences of the pattern removed. Short-hand for String#gsub(pattern, ”).