PHP: substr 사용 substr(string $string, int $offset, ?int $length = null): string ex) ex2) ex3) ex4) ex4 answer) 1) 'pe' 2) '54' 3) 'gr' 4) '1' 5) '' 6) '' 7) '1200' PHP 2023.03.28