Sorry for raising this noobie thread but I can't seem to find a function that can read a string and break it up into an Array. I hope it's easy to do. I can do this in C but Autoit is a little different. Here's an example of what I would like to do, have an input box (GuiCtrlCreateEdit) where user can paste the information into it and my program will swap the information to have the output below with a click of a button:
134.567.890.123 Hostname1 #Some comment on the Hostname
094.123.344.333 Hostname2 #Another comment on the Hostname.
To be specific:
Array[0,0] = 134.567.890.123 Array[0,1] = Hostname 1
Array[1,0] = 094.123.344.333 Array[1,1] = Hostname 2
What I would like to see in the output:
One method that I was going to use is StringisSpace, but that function only detects spaces. If there are any characters within it, it does not work. How will I go about making this work? I know I'll have to use the "_Arrayswap" function within the library but will it work given that I have 2 dimensions array?
Thanks in advance guys! It's been awhile since I did any programming.