arth/escaper

String tool for escape characters

1.0.0 2019-11-29 21:32 UTC

This package is auto-updated.

Last update: 2024-04-29 04:27:00 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']