Sign in to follow this  
Followers 0
Rorax

Character count in inputbox/string or filename

3 posts in this topic

Good day!

I was wondering if there is a command to count characters in a string or a file.

For example the user enters the word: MyDocument in a GUI input box. Then I need to count the number of characters in that word.

Or I need to count the characters in the resulting file that is created and Filemove it so that it has 8.3 format.

Only problem is that I dont know how to count the characters. Any help is appreciated.

Regards,

Rorax

Share this post


Link to post
Share on other sites



StringLen()

Check the helpfile for it.

Share this post


Link to post
Share on other sites

Darn I'm blind, I thought I looked over everything wtih string in the helpfile but I missed this little gem. Thanks a lot for pointing this out for me =)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0