please dont rip this site
Microsoft® JScript™
lastIndexOf Method
 Language Reference 
Version 1 

See Also                  Applies To


Description
Finds the last occurrence of a substring within a String object.
Syntax
strVariable.lastIndexOf(substring, startindex)
"String Literal".lastIndexOf(substring, startindex)

The lastIndexOf method syntax has these arguments:

Part Description
substring The substring to search for within the String object.
startindex An optional integer value specifying the index to begin searching within the String object. If omitted, searching begins at the end of the string.
Remarks
The lastIndexOf method returns an integer value indicating the beginning of the substring within the String object. If the substring is not found, a -1 is returned.

If startindex is negative, startindex is treated as zero. If it is larger than the greatest character position index, it is treated as the largest possible index.

Searching is performed right to left. Otherwise, this method is identical to indexOf.


© 1997 by Microsoft Corporation. All rights reserved.


file: /Techref/inet/iis/jscript/htm/js815.htm, 3KB, , updated: 1997/9/30 03:45, local time: 2024/11/25 12:59,
TOP NEW HELP FIND: 
18.188.227.108:LOG IN

 ©2024 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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://sxlist.com/techref/inet/iis/jscript/htm/js815.htm"> lastIndexOf Method</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .