[ create a new paste ] login | about

Link: http://codepad.org/ta5g8eUk    [ raw code | output | fork ]

PHP, pasted on Aug 14:
1
2
3
4
5
6
7
8
9
<?php

$a = "12345     \r\n\r\n\r\n\r\n\r\n";
 
echo strlen($a);

echo "\n\n";

echo strlen(str_replace("\r", '', $a));


Output:
1
2
3
20

15


Create a new paste based on this one


Comments: