Translate

Monday, May 5, 2014

14. String Object

String is an existing object in JavaScript, and below, we will show the property, and some method of string they use most often.
String Property 
Length The role is a property for download of the string.
example
១៤. String Object
String Methods
toUpperCase / toLowerCase: a role for the converted string to uppercase or lowercase.
example
១៤. String Object
substr (start, length): a string containing the start position length length it took to locate the latest. The position of the string from 0.
example
១៤. String Object
concat (string1, ...): a role for the connection string with the string.
example
១៤. String Object


0 comments:

Post a Comment