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: 2018/8/17 06:27,
|©2018 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://techref.massmind.org/techref/inet/iis/jscript/htm/js730.htm"> test Method</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to techref.massmind.org!