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 1c2a61a commit 347f749Copy full SHA for 347f749
components/string.rst
@@ -313,7 +313,7 @@ Methods to Pad and Trim
313
u('template.html.twig')->trimSuffix('.html'); // 'template.html.twig'
314
u('template.html.twig')->trimSuffix('.twig'); // 'template.html'
315
u('template.html.twig')->trimSuffix('.html.twig'); // 'template'
316
- // when passing an array of prefix/sufix, only the first one found is trimmed
+ // when passing an array of prefix/suffix, only the first one found is trimmed
317
u('file-image-0001.png')->trimPrefix(['file-', 'image-']); // 'image-0001.png'
318
u('template.html.twig')->trimSuffix(['.twig', '.html']); // 'template.html'
319
0 commit comments