CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  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

  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

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured