This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
IE msXML scripting Q on searach
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] IE msXML scripting Q on searach
- From: "Walter Torres" <walter at torres dot ws>
- Date: Tue, 8 May 2001 20:45:04 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
This is within IE 5.5, MSxml 3.1, trying to use JS to script actions for an
xml file.
I have this line...
if ( currNode.text.search(searchStr) != -1)
{
...
}
which looks in the given node to see if the passed in string (searchStr) is
in this NODE.
Works fine, but...
How do I make this case-insensitive?
Or, how do I force it to look at the NODE text in lower case, since I can
force 'searchStr' to lower case?
Thanks
Walter
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list