2008/07/18 10:51
php
strlen()
주어진 문자열의 길이(length)를 리턴하는 함수
Examples
Example #1 A strlen() example
<?php
$str = 'abcdef';
echo strlen($str); // 6
$str = ' ab cd ';
echo strlen($str); // 7
?>
Examples
Example #1 A strlen() example
<?php
$str = 'abcdef';
echo strlen($str); // 6
$str = ' ab cd ';
echo strlen($str); // 7
?> 'php' 카테고리의 다른 글
| apache php 설치 (0) | 2008/10/16 |
|---|---|
| 숫자 함수 (0) | 2008/07/30 |
| PHP strlen() (0) | 2008/07/18 |
| PHP continue 함수 (0) | 2008/07/18 |
| readdir() -> 파일관리 함수 5 (0) | 2008/07/01 |
| opendir() -> 파일관리 함수 4 (0) | 2008/07/01 |

