We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afbed20 commit 1b08109Copy full SHA for 1b08109
components/string.rst
@@ -306,7 +306,7 @@ Methods to Pad and Trim
306
u(' Lorem Ipsum ')->trimStart(); // 'Lorem Ipsum '
307
u(' Lorem Ipsum ')->trimEnd(); // ' Lorem Ipsum'
308
309
- // removes the given content(s) frrom the start/end of the string
+ // removes the given content(s) from the start/end of the string
310
u('file-0001.png')->trimPrefix('file-'); // '0001.png'
311
u('file-0001.png')->trimPrefix(['file-', 'image-']); // '0001.png'
312
u('template.html.twig')->trimSuffix('.twig'); // 'template.html'
0 commit comments