Strlen in JavaScript
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Strlen in JavaScript

  1. #1
    Join Date
    Apr 1999
    Posts
    4

    Strlen in JavaScript



    How to get the strlen in JavaScript?


    e.g.





    .

    ..


    function OnChange()

    {

    strlen(document.form.MyName.value); <-

    }


    is there any function in JavaScript, that returns the length of a string?


    Thanks
    Share on Google+

  2. #2
    Join Date
    Feb 1999
    Posts
    18

    Re: Strlen in JavaScript



    Correct me if I am wrong (if I am I apologize), but I thought this site was strictly for Java. According to the book, thinking in Java, javascript's only similiarity to java is in its nam and that the name was a marketing ploy to build off the success of Java
    Share on Google+

  3. #3
    Join Date
    Feb 1999
    Posts
    18

    Re: Strlen in JavaScript



    Correct me if I am wrong (if I am I apologize), but I thought this site was strictly for Java. According to the book, thinking in Java, javascript's only similiarity to java is in its nam and that the name was a marketing ploy to build off the success of Java
    Share on Google+

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center