string.sub() : sub : String JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » String » sub »

 

string.sub()







The sub() method converts the string to an instance of the tag.












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

    document.write(myString.sub());

    document.close();

    -->

    </script>
</html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo String
» sub