Mutate str.tr_s(pattern, '')
→ str.delete(pattern)
#1286
Labels
str.tr_s(pattern, '')
→ str.delete(pattern)
#1286
These are equivalent:
Could probably also do that for
String#tr
. Honestly, I don't know the difference betweentr
andtr_s
even after rereading the Ruby docsThe text was updated successfully, but these errors were encountered: