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 03:03, local time: 2018/11/13 23:20,
|©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://www.sxlist.com/techref/inet/iis/jscript/htm/js730.htm"> test Method</A>
|Did you find what you needed?|
Welcome to sxlist.com!
& kind contributors
just like you!
Please don't rip/copy
Copies of the site on CD
are available at minimal cost.
Welcome to www.sxlist.com!