Skip to content

skiptirengu/stringy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stringy

Build Status

Simple wrapper class for PHP string functions

Requirements

The minimum requirement is PHP 5.4.

Usage

Using the helper function str()

  str('FooBar')->charAt(0)->length();

or creating a new instance manually

  $string = new \String\Stringy('FooBarQux');  // 1
  $string->slice(3, 3)->equals('Bar');  // true

About

PHP string class

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages