Download the PHP package greg0/string-builder without Composer
On this page you can find all versions of the php package greg0/string-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package string-builder
String builder
Simple PHP string builder inspired by C# StringBuilder
Install
composer require greg0/string-builder
Sample usages
Creating string
Result:
There are provided some string manipulation methods:
Insert string into position:
Removes the specified range of characters
Replaces all occurrences of a specified string with another specified string
Clear string
More examples provided in unit tests.
TODO
- [ ] Encoding support
- [ ] More test cases
- [ ] Advanced "Format" method (see StringBuilder.AppendFormat)
- [ ] Many different interface implementations (e.g. Streams)
All versions of string-builder with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
The package greg0/string-builder contains the following files
Loading the files please wait ....