I use instr() , mid() , right() , and left()
WaltP
Posting Sage w/ dash of thyme
10,507 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
See if this help :
Arr1 = Split("aaa bbb&ccc ddd&eee","&")
Jx_Man
Nearly a Senior Poster
3,329 posts since Nov 2007
Reputation Points: 1,372
Solved Threads: 444
Sorry, didn't remember there was a split command. Ignore my post
WaltP
Posting Sage w/ dash of thyme
10,507 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
Why are you using the 4 in second parameter?
Did you mistype it?
Try simply
Arrl = Split("aaa bbb&ccc ddd&eee", "&")
It works fine for me.
And Msgbox Split("aaa bbb&ccc ddd&eee","&")(0) return "aaa bbb".
Regards,
SidneiHi,
this part of code :
Arr1 = Split("aaa bbb&ccc ddd&eee",4)
it returns the values aaa ccc eee
ignored the values after the spaces.
Best Regards,
Thank You
sidnei
Junior Poster in Training
55 posts since Dec 2009
Reputation Points: 22
Solved Threads: 10