2013. 10. 1. 10:40
instr/instrrev
<%
test="I love you"
response.write instr(test,"o")
response.write instrrev(test,"o")
%>
instr = 4
앞에서부터 찾은 love에 포함된 'o'의 위치값
instrrev = 9
뒤에서부터 찾은 you에 포함된 'o'의 위치값
※ 두 함수 모두 검색한 문자의 결과값은 좌측부터 시작한 위치값