Skip to content

Commit 8e76b23

Browse files
authored
Update README.md
1 parent c8b3077 commit 8e76b23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ foo: '@=format("%s", "output")'
3535
* `dateTime(string $string) : string` => Returns new DateTimeImmutable object formatted according to the specified format
3636
* `formatDate(string $string) : string` => Returns date formatted according to given format
3737
* `indexOf(string $haystack, string $needle, int $offset) : int|false` => Find the position of the first occurrence of a substring in a string
38+
* `truncate(string $string, int $limit) : string` => Truncates the string and adds "…" at the end, if the string is longer than the limit
39+

0 commit comments

Comments
 (0)