fponticelli / thx.core

Super-charged standard library for Haxe.
http://thx-lib.org
MIT License
124 stars 43 forks source link

Add before() and beforeLast() #265

Closed robinrodricks closed 5 years ago

robinrodricks commented 5 years ago

Add string.before() and string.beforeLast() similar to 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.

robinrodricks commented 5 years ago

Travis failed updating submodules:

The command "eval git submodule update --init --recursive " failed 3 times.