Jump to content
Sign in to follow this  
MiserableLife

Some questions about StringSplit()

Recommended Posts

This is how I see it, which means it's probably wrong..

Let's assume the delimiter string is ,.?. With flag 0, any of those 3 delimiter characters will be used to SplitTheString. With flag 1, all three of those characters are needed.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

I've rewritten your code, to explain it better to myself as well :(

#Include <Array.au3>
$k = StringSplit('a.b,c,.d',',.',0)
_ArrayDisplay($k)

$k = StringSplit('a.b,c,.d',',.',1)
_ArrayDisplay($k)

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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  

×
×
  • Create New...