Programming/ASP

instr, php(ereg)

왕계란 2010. 11. 16. 14:24
<%
test = instr("http://nyaongnyaong.com", "nyaong")
response.write test
%>

php에 있는 ereg랑 비슷한 함수다.
저렇게 하면 nyaong가 시작되는 8이 반환된다.