-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This method truncates the given string to the specified length. Use cases are long titles and descriptions in text shown to the user, that would overload the screen. Example: ``` $title = Str::limit('Lorem ipsum dolor sit amet, consectetur adipiscing elit.', 10); $title == 'Lorem ipsu...'; ```
- Loading branch information
1 parent
bf5fc8f
commit 3e46981
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters