8000 Fixing `trim()` explanation · symfony/symfony-docs@097e318 · GitHub
[go: up one dir, main page]

Skip to content

Commit 097e318

Browse files
Fixing trim() explanation
1 parent 394125c commit 097e318

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/string.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ Methods to Pad and Trim
298298
// repeats the given string the number of times passed as argument
299299
u('_.')->repeat(10); // '_._._._._._._._._._.'
300300

301-
// removes the given characters (whitespace characters by default) from the string
301+
// removes the given characters (default: whitespace characters) from the beginning and end of a string
302302
u(' Lorem Ipsum ')->trim(); // 'Lorem Ipsum'
303303
u('Lorem Ipsum ')->trim('m'); // 'Lorem Ipsum '
304304
u('Lorem Ipsum')->trim('m'); // 'Lorem Ipsu'

0 commit comments

Comments
 (0)
0