16/01
2017
dev-master
9999999-devString class
MIT
The Requires
- php >=5.4
The Development Requires
by Skiptir Engu
Wallogit.com
2017 © Pedro Peláez
String class
Simple wrapper class for PHP string functions, (*2)
The minimum requirement is PHP 5.4., (*3)
Using the helper function str(), (*4)
str('FooBar')->charAt(0)->length();
or creating a new instance manually, (*5)
$string = new \String\Stringy('FooBarQux'); // 1
$string->slice(3, 3)->equals('Bar'); // true
String class
MIT