String Length in IDE

G

Guadala Harry

Just wondering if there is a quick way to get the length of a string
variable while debugging. I don't want to have to modify the code and
restart the application in order to get the length of a string variable.

Thanks!
 
G

Guadala Harry

I figured it out... for those interested:
when execution is paused, open the Command window and just append
[.Length] to your variable. For example if you have a string variable named
'stringVariable' then enter the following in the Command window:

? stringVariable.Length
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top