@@ -81,31 +81,31 @@ $result = $builder->size();
8181fwrite(STDOUT, ' 6. Number of bytes ' . $result . PHP_EOL);
8282
8383$result = $builder->indexOf('e');
84- fwrite(STDOUT, ' 7. First occurence of \'e\' ' . $result . PHP_EOL);
84+ fwrite(STDOUT, ' 7. First occurence of "e" ' . $result . PHP_EOL);
8585
8686$result = $builder->indexOf('e', 5);
87- fwrite(STDOUT, ' 8. First occurence of \'e\' after position 5 ' . $result . PHP_EOL);
87+ fwrite(STDOUT, ' 8. First occurence of "e" after position 5 ' . $result . PHP_EOL);
8888
8989$result = $builder->lastIndexOf('e');
90- fwrite(STDOUT, ' 9. Last occurence of \'e\' ' . $result . PHP_EOL);
90+ fwrite(STDOUT, ' 9. Last occurence of "e" ' . $result . PHP_EOL);
9191
9292$result = $builder->lastIndexOf('e', 5);
93- fwrite(STDOUT, '10. Last occurence of \'e\' before the 5th last character ' . $result . PHP_EOL);
93+ fwrite(STDOUT, '10. Last occurence of "e" before the 5th last character ' . $result . PHP_EOL);
9494
9595$result = $builder->contains('ipsum');
96- fwrite(STDOUT, '12. Whether the string contains \' ipsum\' ' . $result . PHP_EOL);
96+ fwrite(STDOUT, '12. Whether the string contains " ipsum" ' . $result . PHP_EOL);
9797```
9898
9999will output the following
100100
101101``` {txt}
102102 5. String length 38
103103 6. Number of bytes 39
104- 7. First occurence of 'e' 4
105- 8. First occurence of 'e' after position 5 8
106- 9. Last occurence of 'e' 37
107- 10. Last occurence of 'e' before the 5th last character 29
108- 12. Whether the string contains ' ipsum' 1
104+ 7. First occurence of "e" 4
105+ 8. First occurence of "e" after position 5 8
106+ 9. Last occurence of "e" 37
107+ 10. Last occurence of "e" before the 5th last character 29
108+ 12. Whether the string contains " ipsum" 1
109109```
110110
111111---
0 commit comments