please dont rip this site
Microsoft® JScript™
String Object
 Language Reference 
Version 1 

See Also                   Methods                    Properties


Description
Allows manipulation and formatting of text strings and determination and location of substrings within strings.
Syntax
StringObj[.method]
"String Literal"[.method]
Remarks
String objects can be created implicitly using string literals. String objects created in this fashion (referred to as standard strings) are treated differently than String objects created using the new operator. All string literals share a common, global string object. So, if a property is added to a string literal, it is available to all standard string objects:
var alpha, beta
alpha = "This is a string"
beta = "This is also a string"

alpha.test = 10

In this example, test is now also defined for beta and all future string literals. In the next example, however, added properties are treated differently:

var gamma, delta
gamma = new String("This is a string")
delta = new String("This is also a string")

gamma.test = 10

In this case, test is not defined for delta. Each String object declared in this fashion has its own set of members. This is the only case where String objects and string literals are handled differently.


© 1997 by Microsoft Corporation. All rights reserved.


file: /Techref/language/jscript/js604.htm, 3KB, , updated: 1997/9/30 02:44, local time: 2024/11/28 21:18,
TOP NEW HELP FIND: 
18.219.176.215: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://massmind.org/techref/language/jscript/js604.htm"> String Object</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 massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .