[ASP] ASP에서 PHP의 substr_count 기능 구현하기
PHP의 substr_count 는 문자열 중 찾는 문자열이 몇번이나 들어있는지 검사해주는 함수이다.
자세한 설명은 링크 참고 : http://php.net/manual/en/function.substr-count.php
이 기능을 ASP에서 구현하고자 한다면 아래처럼 사용하면 된다.
자세한 설명은 링크 참고 : http://php.net/manual/en/function.substr-count.php
이 기능을 ASP에서 구현하고자 한다면 아래처럼 사용하면 된다.
cont = "This is a test"
tmp = split(cont, "is")
count = ubound(tmp)
댓글
댓글 쓰기