PHP code example of thipages / stringpattern
1. Go to this page and download the library: Download thipages/stringpattern library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
thipages / stringpattern example snippets
$norm=SPattern::normalize ($string, $accents=true)
// $norm[0] gives the length
// $norm[1] gives a sequence
// $norm[2] gives a sequence with occurrence (sequence_occ)