X7ROOT File Manager
Current Path:
/home/prisjneg/public_html/vendor/symfony/string
home
/
prisjneg
/
public_html
/
vendor
/
symfony
/
string
/
📁
..
📄
AbstractString.php
(19.18 KB)
📄
AbstractUnicodeString.php
(27.85 KB)
📄
ByteString.php
(14.46 KB)
📄
CHANGELOG.md
(1.13 KB)
📄
CodePointString.php
(7.54 KB)
📁
Exception
📁
Inflector
📄
LICENSE
(1.04 KB)
📄
LazyString.php
(4.29 KB)
📄
README.md
(555 B)
📁
Resources
📁
Slugger
📄
TruncateMode.php
(903 B)
📄
UnicodeString.php
(12.22 KB)
📄
composer.json
(1.37 KB)
Editing: TruncateMode.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\String; enum TruncateMode { /** * Will cut exactly at given length. * * Length: 14 * Source: Lorem ipsum dolor sit amet * Output: Lorem ipsum do */ case Char; /** * Returns the string up to the last complete word containing the specified length. * * Length: 14 * Source: Lorem ipsum dolor sit amet * Output: Lorem ipsum */ case WordBefore; /** * Returns the string up to the complete word after or at the given length. * * Length: 14 * Source: Lorem ipsum dolor sit amet * Output: Lorem ipsum dolor */ case WordAfter; }
Upload File
Create Folder