JavaScript Tutorial/String/sub — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
(нет различий)

Версия 18:52, 25 мая 2010

string.sub()

The sub() method converts the string to an instance of the tag.</p>

<html>
    <script language="JavaScript1.1">
    <!--
    var myString = new String("Hello, World!");
    document.write(myString.sub());
    document.close();
    -->
    </script>
</html>