PHP code example of s-mcdonald / stringfluent
1. Go to this page and download the library: Download s-mcdonald/stringfluent 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/ */
s-mcdonald / stringfluent example snippets
$str = Stringfluent::create(" any form of string, or stringable interface can be used. ");
$str->toUpperCase()->trim()->truncate(3); // ANY
$str = Stringfluent::create("プログラミングはクールです");
$str->containsMultibyteCharacters(); // true