VBS : Instr Example
Example 1
Program to find the character no "id=" in a sentence
Program to find the character no "id=" in a sentence
q="select * from xxx where id=123"
r=instr(1,q,"id=")
msgbox r
Example 3:
msgbox instr(1,"ab","a")
No comments:
Post a Comment