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
Sat, Oct 3, 06:57 (2 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
dd/d1/baa53ba0c13dc50fa9e088edba0a
Default Alt Text
README.md (535 B)

Event Timeline