Microsoft® JScript substr Method |
Language Reference Version 3 |
Returns a substring beginning at a specified location and having a specified length.
stringvar.substr(start [, length ])The substr method syntax has these parts:
Part Description stringvar Required. A string literal or String object from which the substring is extracted. start Required. The starting position of the desired substring. The index of the first character in the string is zero. length Optional. The number of characters to include in the returned substring.
If length is zero or negative, an empty string is returned. If not specified, the substring continues to the end of stringvar.
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/language/jscript/js848.htm, 2KB, , updated: 1997/9/30 02:45, local time: 2024/11/29 17:32,
3.139.98.10: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? <A HREF="http://sxlist.com/Techref/language/jscript/js848.htm"> substr Method</A> |
Did you find what you needed? |
Welcome to sxlist.com!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! |
.