A port of Laravel 3's String class