Jump to content
Sign in to follow this  
kor

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.

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

Look at StringLen in the help file

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

for example...

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...