aboutsummaryrefslogtreecommitdiff
path: root/files/pl/conflicting/web/javascript/reference/global_objects/string
diff options
context:
space:
mode:
Diffstat (limited to 'files/pl/conflicting/web/javascript/reference/global_objects/string')
-rw-r--r--files/pl/conflicting/web/javascript/reference/global_objects/string/index.html222
1 files changed, 0 insertions, 222 deletions
diff --git a/files/pl/conflicting/web/javascript/reference/global_objects/string/index.html b/files/pl/conflicting/web/javascript/reference/global_objects/string/index.html
deleted file mode 100644
index 6711b8603c..0000000000
--- a/files/pl/conflicting/web/javascript/reference/global_objects/string/index.html
+++ /dev/null
@@ -1,222 +0,0 @@
----
-title: String.prototype
-slug: conflicting/Web/JavaScript/Reference/Global_Objects/String
-tags:
- - JavaScript
- - Property
- - Prototype
- - String
-translation_of: Web/JavaScript/Reference/Global_Objects/String
-translation_of_original: Web/JavaScript/Reference/Global_Objects/String/prototype
-original_slug: Web/JavaScript/Referencje/Obiekty/String/prototype
----
-<p>{{JSRef}}</p>
-
-<h2 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h2>
-
-<p>Reprezentuje prototyp obiektów danej klasy. Pozwala na dodawanie własności i metod do wszystkich instancji tej klasy.</p>
-
-<div>{{js_property_attributes(0, 0, 0)}}</div>
-
-<h2 id="Description" name="Description">Opis</h2>
-
-<p>Wszystkie instancje {{jsxref("Global_Objects/String", "String")}} dziedziczą z  <code>String.prototype</code>. Zmiany w prototypie obiektu <code>String</code> są propagowane do wszystkich instancji {{jsxref("Global_Objects/String", "String")}}.</p>
-
-<h2 id="W.C5.82asno.C5.9Bci" name="W.C5.82asno.C5.9Bci">Własności</h2>
-
-<dl>
- <dt><code>String.prototype.constructor</code></dt>
- <dd>Oznacza funkcję, która tworzy prototyp obiektu.</dd>
- <dt>{{jsxref("String.prototype.length")}}</dt>
- <dd>Odzwierciedla długość łańcucha znaków.</dd>
- <dt><code><em>N</em></code></dt>
- <dd>Używane celem uzyskania dostępu do znaku na pozycji <em>N-tej</em> gdzie  <em>N</em> jest dodatnią liczbą całkowitą między 0 a o jeden mniejszą od {{jsxref("String.length", "length")}}. Własności te są tylko do odczytu.</dd>
-</dl>
-
-<h2 id="Methods" name="Methods">Metody</h2>
-
-<h3 id="Metody_niezwi.C4.85zane_z_HTML" name="Metody_niezwi.C4.85zane_z_HTML">Metody niezwiązane z HTML</h3>
-
-<dl>
- <dt>{{jsxref("String.prototype.charAt()")}}</dt>
- <dd>Zwraca znak o podanym indeksie.</dd>
- <dt>{{jsxref("String.prototype.charCodeAt()")}}</dt>
- <dd>Zwraca liczbę oznaczającą wartość Unicode znaku o podanym indeksie.</dd>
- <dt>{{jsxref("String.prototype.codePointAt()")}} {{experimental_inline}}</dt>
- <dd>Returns a non-negative integer that is the UTF-16 encoded code point value at the given position.</dd>
- <dt>{{jsxref("String.prototype.concat()")}}</dt>
- <dd>Łączy dwa łańcuchy znaków i zwraca nowy łańcuch.</dd>
- <dt>{{jsxref("String.prototype.includes()")}} {{experimental_inline}}</dt>
- <dd>Determines whether one string may be found within another string.</dd>
- <dt>{{jsxref("String.prototype.endsWith()")}} {{experimental_inline}}</dt>
- <dd>Determines whether a string ends with the characters of another string.</dd>
- <dt>{{jsxref("String.prototype.indexOf()")}}</dt>
- <dd>Zwraca indeks pierwszego wystąpienia podanego znaku w obiekcie <code>String</code> lub <code>-1</code>, gdy niczego nie znaleziono.</dd>
- <dt>{{jsxref("String.prototype.lastIndexOf()")}}</dt>
- <dd>Zwraca indeks ostatniego wystąpienia podanego znaku w obiekcie <code>String</code> lub <code>-1</code>, gdy niczego nie znaleziono.</dd>
- <dt>{{jsxref("String.prototype.localeCompare()")}}</dt>
- <dd>Returns a number indicating whether a reference string comes before or after or is the same as the given string in sort order.</dd>
- <dt>{{jsxref("String.prototype.match()")}}</dt>
- <dd>Używane do porównania wyrażenia regularnego z łańcuchem znaków.</dd>
- <dt>{{jsxref("String.prototype.normalize()")}} {{experimental_inline}}</dt>
- <dd>Returns the Unicode Normalization Form of the calling string value.</dd>
- <dt><s class="obsoleteElement">{{jsxref("String.prototype.quote()")}} {{obsolete_inline}}</s></dt>
- <dd><s class="obsoleteElement">Wraps the string in double quotes ("<code>"</code>").</s></dd>
- <dt>{{jsxref("String.prototype.repeat()")}} {{experimental_inline}}</dt>
- <dd>Returns a string consisting of the elements of the object repeated the given times.</dd>
- <dt>{{jsxref("String.prototype.replace()")}}</dt>
- <dd>Używane do znalezienia podobieństwa pomiędzy wyrażeniem regularnym a łańcuchem znaków, a następnie do podmiany znalezionego podłańcucha nowym podłańcuchem.</dd>
- <dt>{{jsxref("String.prototype.search()")}}</dt>
- <dd>Uruchamia wyszukiwanie podobieństwa pomiędzy wyrażeniem regularnym a podanym łańcuchem.</dd>
- <dt>{{jsxref("String.prototype.slice()")}}</dt>
- <dd>Wyciąga kawałek łańcucha i zwraca nowy łańcuch.</dd>
- <dt>{{jsxref("String.prototype.split()")}}</dt>
- <dd>Dzieli obiekt {{jsxref("String")}} na tablicę łańcuchów poprzez dzielenie łańcucha na podłańcuchy.</dd>
- <dt>{{jsxref("String.prototype.startsWith()")}} {{experimental_inline}}</dt>
- <dd>Determines whether a string begins with the characters of another string.</dd>
- <dt>{{jsxref("String.prototype.substr()")}}</dt>
- <dd>Zwraca podłańcuch znaków z łańcucha, zaczynający się w podanym miejscu i podanej długości znaków.</dd>
- <dt>{{jsxref("String.prototype.substring()")}}</dt>
- <dd>Zwraca znaki w podłańcuchu pomiędzy dwoma indeksami w łańcuchu.</dd>
- <dt>{{jsxref("String.prototype.toLocaleLowerCase()")}}</dt>
- <dd>The characters within a string are converted to lower case while respecting the current locale. For most languages, this will return the same as {{jsxref("String.prototype.toLowerCase()", "toLowerCase()")}}.</dd>
- <dt>{{jsxref("String.prototype.toLocaleUpperCase()")}}</dt>
- <dd>The characters within a string are converted to upper case while respecting the current locale. For most languages, this will return the same as {{jsxref("String.prototype.toUpperCase()", "toUpperCase()")}}.</dd>
- <dt>{{jsxref("String.prototype.toLowerCase()")}}</dt>
- <dd>Zwraca wywołujący łańcuch skonwertowany do małych liter.</dd>
- <dt>{{jsxref("String.prototype.toSource()")}} {{non-standard_inline}}</dt>
- <dd>Zwraca literał obiektu reprezentujący podany obiekt; możesz użyć tej wartości do utworzenia nowego obiektu. Przesłania metodę {{jsxref("Object.prototype.toSource()")}}.</dd>
- <dt>{{jsxref("String.prototype.toString()")}}</dt>
- <dd>Zwraca łańcuch reprezentujący podany obiekt. Przesłania metodę {{jsxref("Object.prototype.toString()")}}.</dd>
- <dt>{{jsxref("String.prototype.toUpperCase()")}}</dt>
- <dd>Zwraca wywołujący łańcuch skonwertowany do wielkich liter.</dd>
- <dt>{{jsxref("String.prototype.trim()")}}</dt>
- <dd>Trims whitespace from the beginning and end of the string. Part of the ECMAScript 5 standard.</dd>
- <dt>{{jsxref("String.prototype.trimLeft()")}} {{non-standard_inline}}</dt>
- <dd>Trims whitespace from the left side of the string.</dd>
- <dt>{{jsxref("String.prototype.trimRight()")}} {{non-standard_inline}}</dt>
- <dd>Trims whitespace from the right side of the string.</dd>
- <dt>{{jsxref("String.prototype.valueOf()")}}</dt>
- <dd>Zwraca wartość prymitywną podanego obiektu. Przesłania metodę {{jsxref("Object.prototype.valueOf()")}}.</dd>
- <dt>{{jsxref("String.prototype.@@iterator()", "String.prototype[@@iterator]()")}} {{experimental_inline}}</dt>
- <dd>Returns a new <code>Iterator</code> object that iterates over the code points of a String value, returning each code point as a String value.</dd>
-</dl>
-
-<h3 id="Metody_zwi.C4.85zane_z_HTML" name="Metody_zwi.C4.85zane_z_HTML">Metody związane z HTML</h3>
-
-<p>These methods are of limited use, as they provide only a subset of the available HTML tags and attributes.</p>
-
-<dl>
- <dt>{{jsxref("String.prototype.anchor()")}}</dt>
- <dd>{{htmlattrxref("name", "a", "&lt;a name=\"name\"&gt;")}} (hypertext target)</dd>
- <dt>{{jsxref("String.prototype.big()")}} {{deprecated_inline}}</dt>
- <dd>{{HTMLElement("big")}}</dd>
- <dt>{{jsxref("String.prototype.blink()")}} {{deprecated_inline}}</dt>
- <dd>{{HTMLElement("blink")}}</dd>
- <dt>{{jsxref("String.prototype.bold()")}} {{deprecated_inline}}</dt>
- <dd>{{HTMLElement("b")}}</dd>
- <dt>{{jsxref("String.prototype.fixed()")}} {{deprecated_inline}}</dt>
- <dd>{{HTMLElement("tt")}}</dd>
- <dt>{{jsxref("String.prototype.fontcolor()")}} {{deprecated_inline}}</dt>
- <dd>{{htmlattrxref("color", "font", "&lt;font color=\"color\"&gt;")}}</dd>
- <dt>{{jsxref("String.prototype.fontsize()")}} {{deprecated_inline}}</dt>
- <dd>{{htmlattrxref("size", "font", "&lt;font size=\"size\"&gt;")}}</dd>
- <dt>{{jsxref("String.prototype.italics()")}} {{deprecated_inline}}</dt>
- <dd>{{HTMLElement("i")}}</dd>
- <dt>{{jsxref("String.prototype.link()")}}</dt>
- <dd>{{htmlattrxref("href", "a", "&lt;a href=\"rul\"&gt;")}} (link to URL)</dd>
- <dt>{{jsxref("String.prototype.small()")}} {{deprecated_inline}}</dt>
- <dd>{{HTMLElement("small")}}</dd>
- <dt>{{jsxref("String.prototype.strike()")}} {{deprecated_inline}}</dt>
- <dd>{{HTMLElement("strike")}}</dd>
- <dt>{{jsxref("String.prototype.sub()")}} {{deprecated_inline}}</dt>
- <dd>{{HTMLElement("sub")}}</dd>
- <dt>{{jsxref("String.prototype.sup()")}} {{deprecated_inline}}</dt>
- <dd>{{HTMLElement("sup")}}</dd>
-</dl>
-
-<h2 id="Specifications">Specifications</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Specification</th>
- <th scope="col">Status</th>
- <th scope="col">Comment</th>
- </tr>
- <tr>
- <td>ECMAScript 1st Edition.</td>
- <td>Standard</td>
- <td>Initial definition.</td>
- </tr>
- <tr>
- <td>{{SpecName('ES5.1', '#sec-15.5.3.1', 'String.prototype')}}</td>
- <td>{{Spec2('ES5.1')}}</td>
- <td> </td>
- </tr>
- <tr>
- <td>{{SpecName('ES6', '#sec-string.prototype', 'String.prototype')}}</td>
- <td>{{Spec2('ES6')}}</td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Browser_compatibility">Browser compatibility</h2>
-
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h2 id="See_also" name="See_also">See also</h2>
-
-<ul>
- <li>{{jsxref("String")}}</li>
- <li>{{jsxref("Function.prototype")}}</li>
-</ul>