Use the following code:
[-] main ()
[ ] STRING s = "this is a test?"
[ ] Print (MatchStr ("*{Chr(63)}", s))
Microfocus SilkTest is the automated tool for testing the functionality of enterprise applications in any environment. Technical interview questions. SilkTest FAQ (frequently asked questions) and tips.
[-] main ()
[ ] STRING s = "this is a test?"
[ ] Print (MatchStr ("*{Chr(63)}", s))
1 comment:
The code provided should match to any string with at least 1 character. It will not check that the question mark is in the string. I believe you would need to use a combination of MatchStr and GetField in a recursive function.
Post a Comment