PHP code example of gorriecoe / silverstripe-dbstringextras

1. Go to this page and download the library: Download gorriecoe/silverstripe-dbstringextras 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/ */

    

gorriecoe / silverstripe-dbstringextras example snippets


$this->obj('MyString')->StrReplace('Search value', 'Replacement value')

$this->obj('MyString')->Nice()

$this->obj('MyString')->Hyphenate()

$this->obj('MyString')->RemoveSpaces()

$this->obj('MyString')->Highlight()