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 422bb7f commit ab52db0Copy full SHA for ab52db0
components/string.rst
@@ -301,7 +301,7 @@ Methods to Pad and Trim
301
u('template.html.twig')->trimSuffix('.html'); // 'template.html.twig'
302
u('template.html.twig')->trimSuffix('.twig'); // 'template.html'
303
u('template.html.twig')->trimSuffix('.html.twig'); // 'template'
304
- // 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
305
u('file-image-0001.png')->trimPrefix(['file-', 'image-']); // 'image-0001.png'
306
u('template.html.twig')->trimSuffix(['.twig', '.html']); // 'template.html'
307
0 commit comments