Back

Function In$(P1,P2,P3)

This function searches for the text P2 within text P1 starting the search at character number P3. (P1=Text to search in P2=Text to search for P3=Character number to start search from). If P2 is not found, the function returns 0.

This script pastes 4 followed by 15

[[Script]]
Text1 = "Send more brandy"
Counter1 = In$(Text1 , "d" , 1)
Paste Counter1
Type Enter
Counter1 = In$(Text1 , "d" , Counter1 + 1)
Paste Counter1

 

Back