arth/escaper

String tool for escape characters

1.0.0 2019-11-29 21:32 UTC

This package is auto-updated.

Last update: 2024-10-29 05:53:09 UTC


README

String\Escaper

Handle string splitting with ability to escape delimiter

Installation

composer req arth/escaper

Usage

  use Arth\Util\String\Escaper;
  
  $svc = new Escaper();
  $list = $svc->split(' ', 'Home Sweet\ Home'); // ['Home', 'Sweet Home']