Split function
-
Sir/Madam, I am facing problem in split function. The problem is Dim str as string = "12/12/1200" dim str1() as string = str.split("/") now i want the output in the form str1(0) = "12" str1(1) = "12" str1(2) = "1200" I am not getting this output. Please help Thanks and Regards Pankaj
-
Sir/Madam, I am facing problem in split function. The problem is Dim str as string = "12/12/1200" dim str1() as string = str.split("/") now i want the output in the form str1(0) = "12" str1(1) = "12" str1(2) = "1200" I am not getting this output. Please help Thanks and Regards Pankaj
What output are you getting ?
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
What output are you getting ?
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
Sir/Madam, I am getting error when i am writing the code line dim str1() as string = str.split("/") Please help.
Have you thought to read what the error is ? To check MSDN to make sure you're calling the function properly ?
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
Have you thought to read what the error is ? To check MSDN to make sure you're calling the function properly ?
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
Christian Graus wrote:
Have you thought to read what the error is ?
Surely that would be just too obvious!? :-D
Upcoming Scottish Developers events: * Glasgow: Tell us what you want to see in 2007 My: Website | Blog | Photos
-
Christian Graus wrote:
Have you thought to read what the error is ?
Surely that would be just too obvious!? :-D
Upcoming Scottish Developers events: * Glasgow: Tell us what you want to see in 2007 My: Website | Blog | Photos
I ran your code and it worked without error.