ReplaceLast takes two param search and replace it return string by searching search sub string and replacing it with replace substring on last occurrence it can be chained on function which return StringManipulation interface
(search, replace string)
| 294 | // with replace substring on last occurrence |
| 295 | // it can be chained on function which return StringManipulation interface |
| 296 | func (i *input) ReplaceLast(search, replace string) string { |
| 297 | input := getInput(*i) |
| 298 | return replaceStr(input, search, replace, Last) |
| 299 | } |
| 300 | |
| 301 | // Reverse reverses the passed strings |
| 302 | // it can be chained on function which return StringManipulation interface |
nothing calls this directly
no test coverage detected