Sign in to follow this  
Followers 0
kor

count # of characters in a string

2 posts in this topic

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

For instance.

test1234

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



#2 ·  Posted (edited)

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  
Followers 0