Jump to content
Sign in to follow this  
supersonic

get chr by char from a string

Recommended Posts

supersonic

hi

of course it is possible but i can't solve it on my own: how to get chr by chr from a string?

Share this post


Link to post
Share on other sites
Valuater

$Split = StringSplit($String, "")

see help

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
monoceres

hi

of course it is possible but i can't solve it on my own: how to get chr by chr from a string?

Dim $string="Hello!"
$chars=StringSplit($string,"")
For $i=1 To UBound($chars)-1
MsgBox(0,"Char "&$i,$chars[$i])
Next

:)

Edit: Beaten by Val :(

Edited by monoceres

Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites
supersonic

*grmpf*

i'm not a good performer today... :)

i knew before this couldn't be very hard...

thank you.

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  

×