diff --git a/reference/strings/functions/trim.xml b/reference/strings/functions/trim.xml index 43d3ee1152..e7beafd08f 100644 --- a/reference/strings/functions/trim.xml +++ b/reference/strings/functions/trim.xml @@ -1,5 +1,5 @@ - + @@ -84,7 +84,7 @@ $trimmed = trim($text); // $trimmed = "These are a few words :) ..." $trimmed = trim($text, " \t."); // $trimmed = "These are a few words :)" -$clean = trim($binary, "\0x00..\0x1F"); +$clean = trim($binary, "\x00..\x1F"); // trim the ASCII control characters at the beginning and end of $binary // (from 0 to 31 inclusive)