See Also Applies To
Description
Searches a string for matches to a regular expression.
Syntax
stringObj.search(rgexp)
The search method syntax has these parts:
Part
Description
stringObj
Required. The String object or literal to search.
rgexp
Required. A Regular Expression object containing the pattern to search for.
Remarks
The search method indicates if a match is present or not. It returns true if a match is found, and false otherwise. To get further information, use the match method.
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/inet/iis/jscript/htm/js830.htm,
2KB, , updated: 1997年9月30日 04:45, local time: 2025年9月7日 05:24,
©2025 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/js830.htm"> search Method</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to techref.massmind.org!
.