308 SOF T WARE ENGINEERING AND TESTING
Result = Instr (Startpos, String 1, String 2)
Startpos : Start position in String 1 from where String 2
has to be searched.
String 1 : String in which String 2 has to be searched.
String 2 : String to be searched.
23. Isarray ()
Returns True if a variable is an array; otherwise, returns False.
Result = Isarray (Variable)
24. InputBox ()
Shows a dialogue box with a Text Box, an OK button, and a Cancel button. The
Input given by a user is returned as a string: InputBox (Prompt, Title, Default,
Xpos, Ypos
).
Prompt : The message to be displayed in the dialogue box. It can have a
maximum of 1024 characters and can be displayed in multi-lines
in the dialogue box by using
chr (13) or