Page MenuHomeWickedGov Phorge

README.md
No OneTemporary

Size
535 B
Referenced Files
None
Subscribers
None

README.md

WrappedString
=============
WrappedString is a small PHP library for compacting redundant string-wrapping
code in text output. The most common use-case is to eliminate redundant runs of
HTML open/close tags and JavaScript boilerplate.
Here is how you use it:
```php
use Wikimedia\WrappedString;
$buffer = [
new WrappedString( '[foo]', '[', ']' ),
new WrappedString( '[bar]', '[', ']' ),
];
$output = WrappedString::join( "\n", $buffer );
// Result: '[foobar]'
```
License
-------
The project is licensed under the MIT license.

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 3, 20:51 (1 d, 5 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
35/41/583e2849e14c82a58965c55aa204
Default Alt Text
README.md (535 B)

Event Timeline