<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://wbex.ru/index.php?action=history&amp;feed=atom&amp;title=JavaScript_Tutorial%2FString%2FIntroduction</id>
		<title>JavaScript Tutorial/String/Introduction - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://wbex.ru/index.php?action=history&amp;feed=atom&amp;title=JavaScript_Tutorial%2FString%2FIntroduction"/>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=JavaScript_Tutorial/String/Introduction&amp;action=history"/>
		<updated>2026-04-04T18:39:20Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://wbex.ru/index.php?title=JavaScript_Tutorial/String/Introduction&amp;diff=8691&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=JavaScript_Tutorial/String/Introduction&amp;diff=8691&amp;oldid=prev"/>
				<updated>2010-05-26T08:24:30Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 08:24, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>http://wbex.ru/index.php?title=JavaScript_Tutorial/String/Introduction&amp;diff=8690&amp;oldid=prev</id>
		<title> в 18:52, 25 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=JavaScript_Tutorial/String/Introduction&amp;diff=8690&amp;oldid=prev"/>
				<updated>2010-05-25T18:52:56Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Special Characters (escape sequence)==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;A backslash character (\) creates special characters.&amp;lt;/p&amp;gt;&lt;br /&gt;
Escape Sequence&lt;br /&gt;
Character&lt;br /&gt;
\b&lt;br /&gt;
Backspace&lt;br /&gt;
\f&lt;br /&gt;
Form feed&lt;br /&gt;
\n&lt;br /&gt;
Newline&lt;br /&gt;
\r&lt;br /&gt;
Carriage return&lt;br /&gt;
\t&lt;br /&gt;
Tab&lt;br /&gt;
\&amp;quot;&lt;br /&gt;
Single quote&lt;br /&gt;
\&amp;quot;&lt;br /&gt;
Double quote&lt;br /&gt;
\\&lt;br /&gt;
Backslash&lt;br /&gt;
\XXX&lt;br /&gt;
Character represented by three octal digits XXX (0 to 377)&lt;br /&gt;
\XX&lt;br /&gt;
Character represented by two hexadecimal digits XX (00 to FF)&lt;br /&gt;
\uXXXX&lt;br /&gt;
Unicode character represented by four hexadecimal digits.&lt;br /&gt;
&lt;br /&gt;
== String() Object==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Strings are declared by placing the characters between a pair of double quotes (&amp;quot; &amp;quot;) or single quotes (&amp;quot;&amp;quot;).&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;JavaScript interprets single quotes as part of the string if the single quotes are inside a pair of double quotes.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;JavaScript interprets double quotes as part of the string if the double quotes are inside a pair of single quotes.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Or, you will you need to use escape sequences.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Syntax to create String object&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var variable = new String(string);&lt;br /&gt;
    &amp;quot;string&amp;quot;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&amp;lt;p&amp;gt;The String() object is one of the core JavaScript objects.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Instances are created when a program constructs an instance using the new keyword and passing it the String() object.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Properties and Methods Used by the String Object&amp;lt;/p&amp;gt;&lt;br /&gt;
Method/Property&lt;br /&gt;
Description&lt;br /&gt;
anchor()&lt;br /&gt;
Creates an instance of the &amp;lt;A&amp;gt; tag with the NAME attribute set to the string passed to the method.&lt;br /&gt;
big()&lt;br /&gt;
Converts the string into an instance of the &amp;lt;BIG&amp;gt; tag.&lt;br /&gt;
blink()&lt;br /&gt;
Converts the string into an instance of the &amp;lt;BLINK&amp;gt; tag.&lt;br /&gt;
bold()&lt;br /&gt;
Converts the string into an instance of the &amp;lt;BOLD&amp;gt; tag.&lt;br /&gt;
charAt()&lt;br /&gt;
Returns the character at the index passed to the method.&lt;br /&gt;
charCodeAt()&lt;br /&gt;
Returns the ISO-Latin-1 number of the character at the index passed to the method.&lt;br /&gt;
concat()&lt;br /&gt;
Concatenates the two strings passed to return a new string. This method was added in JavaScript 1.2.&lt;br /&gt;
fixed()&lt;br /&gt;
Converts the string into an instance of the , fixed pitch font tag.&lt;br /&gt;
fontcolor()&lt;br /&gt;
Sets the COLOR attribute of an instance of the  tag.&lt;br /&gt;
fontsize()&lt;br /&gt;
Sets the SIZE attribute of an instance of the  tag.&lt;br /&gt;
fromCharCode()&lt;br /&gt;
Returns the string value of the ISO-Latin-1 number passed to the method.&lt;br /&gt;
indexOf()&lt;br /&gt;
Returns the index of the first occurrence of the string passed to the method within an instance of a String object.&lt;br /&gt;
italics()&lt;br /&gt;
Converts the string into an instance of the &amp;lt;I&amp;gt; tag.&lt;br /&gt;
lastIndexOf()&lt;br /&gt;
Returns the index of the last occurrence of the string passed to the method within an instance of a String object.&lt;br /&gt;
link()&lt;br /&gt;
Converts the string into an instance of the &amp;lt;A&amp;gt; tag and sets the HREF attribute with the URL that is passed to the method.&lt;br /&gt;
match()&lt;br /&gt;
Returns an array containing the matches found based on the regular expression passed to the method.&lt;br /&gt;
replace()&lt;br /&gt;
Performs a search and replace, using the regular expression and replace string passed to the method, on the instance of a String that calls it.&lt;br /&gt;
search()&lt;br /&gt;
Returns the index location of the match found in the string passed to the method. A -1 is returned if the string is not found.&lt;br /&gt;
slice()&lt;br /&gt;
Returns the string between the beginning and ending index passed to the method. If a negative number is passed, the index is referenced from the end of the string passed.&lt;br /&gt;
small()&lt;br /&gt;
Converts the string into an instance of the &amp;lt;SMALL&amp;gt; tag.&lt;br /&gt;
split()&lt;br /&gt;
Returns the string split into segments defined by the string and instance limit passed to the method.&lt;br /&gt;
strike()&lt;br /&gt;
Converts the string into an instance of the &amp;lt;STRIKE&amp;gt; tag.&lt;br /&gt;
sub()&lt;br /&gt;
Converts the string into an instance of the &amp;lt;SUB&amp;gt; tag.&lt;br /&gt;
substr()&lt;br /&gt;
Returns the string beginning with the indexed location and number of characters to return. If a negative number is passed, the index is referenced from the end of the string passed.&lt;br /&gt;
substring()&lt;br /&gt;
Returns the string between the beginning and ending index passed to the method.&lt;br /&gt;
sup()&lt;br /&gt;
Converts the string into an instance of the &amp;lt;SUP&amp;gt; tag.&lt;br /&gt;
toLowerCase()&lt;br /&gt;
Converts all the characters in the string to lowercase.&lt;br /&gt;
toSource()&lt;br /&gt;
Returns the string representation of the String passed.&lt;br /&gt;
toString()&lt;br /&gt;
Returns the characters passed as type string.&lt;br /&gt;
toUpperCase()&lt;br /&gt;
Converts all the characters in the string to uppercase.&lt;br /&gt;
length&lt;br /&gt;
Returns the length of the string.&lt;br /&gt;
prototype&lt;br /&gt;
Provides the ability for a programmer to add properties to instances of the String object.&lt;br /&gt;
&lt;br /&gt;
== The String Type==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The String type is the only primitive type that doesn&amp;quot;t have a definite size.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;A string can be used to store zero or more Unicode characters.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Each character in a string is given a position.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The position starts with the first character in position 0, the second character in position 1.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The position of the final character in a string is always the length of the string minus 1.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;String literals are specified by using either double quotes (&amp;quot;) or single quotes (&amp;quot;).&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;JavaScript has no character type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var sColor1 = &amp;quot;blue&amp;quot;;&lt;br /&gt;
var sColor2 = &amp;quot;blue&amp;quot;;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&amp;lt;p&amp;gt;The following table lists the JavaScript character literals:&amp;lt;/p&amp;gt;&lt;br /&gt;
Literal&lt;br /&gt;
Meaning&lt;br /&gt;
\n&lt;br /&gt;
Newline&lt;br /&gt;
\t&lt;br /&gt;
Tab&lt;br /&gt;
\b&lt;br /&gt;
Backspace&lt;br /&gt;
\r&lt;br /&gt;
Carriage return&lt;br /&gt;
\f&lt;br /&gt;
Formfeed&lt;br /&gt;
\\&lt;br /&gt;
Backslash&lt;br /&gt;
\&amp;quot;&lt;br /&gt;
Single quote&lt;br /&gt;
\&amp;quot;&lt;br /&gt;
Double quote&lt;br /&gt;
\0nnn&lt;br /&gt;
A character represented by octal code nnn (where n is an octal digit 0-7)&lt;br /&gt;
\xnn&lt;br /&gt;
A character represented by hexadecimal code nn (where n is a hexadecimal digit 0-F)&lt;br /&gt;
\unnnn&lt;br /&gt;
A Unicode character represented by hexadecimal code nnnn (where n is a hexadecimal digit 0-F)&lt;/div&gt;</summary>
			</entry>

	</feed>