3 Replies Latest reply: Nov 29, 2012 12:03 PM by resdesign RSS

    value of a string

    resdesign CommunityMVP

      I am trying to retreive the length of a string and I am getting a strange number. What is my mistake?

       

      var label = sym.$("label");

      alert(label.length);

       

      the alert says: 1

       

      ( The text is 8 letters no space).