Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: String length

  1. #1
    Join Date
    May 2007
    Posts
    22

    Default String length

    Hi,
    I tried but couldnt find how to check the lngth of a string. There is not relvent function in the javascript component.

    Thanks,
    Gavin

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    var field1 = value.getString();
    var len = field1.length();

    if value is an input field.

    Regards,
    Sven

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.