5
Contributors
7
Replies
8
Views
6 Years
Discussion Span
Last Post by ITKnight
0

Hi,
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

1

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,
Sidnei

Hi,
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

Votes + Comments
Thanks dude, its working.
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.