Language Reference |
See Also Applies To
Tests whether a pattern exists in a string.
The test method syntax has these parts:
Part Description rgexp Required. A Regular Expression object. Can be a variable name or a literal. str Required. The string to test a search on.
The test method checks to see if a pattern exists within a string and returns true if so, and false otherwise.
The RegExp object is not modified by the test method.
© 1997 by Microsoft Corporation. All rights reserved.
|file: /Techref/inet/iis/jscript/htm/js730.htm, 2KB, , updated: 2008/2/2 04:03, local time: 2021/10/20 10:31,
|©2021 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.massmind.org/techref/inet/iis/jscript/htm/js730.htm"> test Method</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to www.massmind.org!