method

delete_prefix

Importance_1
v2_5_5 - Show latest stable - 0 notes - Class: String
delete_prefix(p1) public

Returns a copy of str with leading prefix deleted.

"hello".delete_prefix("hel") #=> "lo"
"hello".delete_prefix("llo") #=> "hello"
Show source
Register or log in to add new notes.