Closed robinrodricks closed 5 years ago
Add string.before() and string.beforeLast() similar to after()/afterLast().
string.before()
string.beforeLast()
after()
afterLast()
I know you have an upTo() but its behavior is a bit different. If searchFor is not found it returns the entire string, instead of returning a blank string.
searchFor
Travis failed updating submodules:
The command "eval git submodule update --init --recursive " failed 3 times.
Add
string.before()
andstring.beforeLast()
similar toafter()
/afterLast()
.I know you have an upTo() but its behavior is a bit different. If
searchFor
is not found it returns the entire string, instead of returning a blank string.