Forum Discussion

rishi_1's avatar
rishi_1
Occasional Contributor
13 years ago

How to find the length of characters entered in a text box?

Is there any function that can find the length of characters entered in a text box?

1 Reply

  • HKosova's avatar
    HKosova
    SmartBear Alumni (Retired)
    Hi Rishi,



    This should give you the current text length:

    aqString.GetLength(textBox.wText)


    To get the maximum allowed text length, use the wLimit property.