+ Reply to Thread
Results 1 to 2 of 2

Thread: How to test for variable length or limit a variable to a max length

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default How to test for variable length or limit a variable to a max length

    Hi,

    I have a user variable that cannot be longer than 16 characters. How do I limit user entry or test for the length to alert the user of the issue.

    Thanks,

    Kurt

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: How to test for variable length or limit a variable to a max length

    Kurt,

    just use the "Handle String Operation -> Len" script function. If you are using it in a Loop Wizard, you can add a CYCLE after the "Display Message Box..."

    Does this help?

    Friedrich
    Attached Images Attached Images  

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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