[ create a new paste ] login | about

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

martin@mustbebuilt.co.uk - PHP, pasted on May 16:
1
2
3
4
5
6
<?php
echo substr("abcdef", 0, 4);
echo substr('abcdefgh', 2, 6);
$bigstring = "abcdefgh";
echo substr($bigstring, 2,2);
?>


Output:
1
abcdcdefghcd


Create a new paste based on this one


Comments: