Jump to content
Sign in to follow this  

count # of characters in a string

Recommended Posts


What function would allow me to get a count of how many characters are in a string.

For instance.


that contains 8 characters. So I would need something that returns an integer of 8.

Share this post

Link to post
Share on other sites

Look at StringLen in the help file

$string = "test1234"
MsgBox(0, "", StringLen($string))

for example...

Edited by JLogan3o13

√-1 2^3 ∑ π, and it was delicious!

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.