Hi
I have to design a program that takes as input one line of text in the format:
SURNAME FIRSTNAME SUBJECT1 SUBJECT2 DOB
Then the program needs to rearrange this input in textbox1.text into the format:
FIRSTNAME SURNAME DOB SUBJECT1 SUBJECT2
into textbox2.text and then be able to copy the output to the clipboard.
I am open to any suggestions in VB6 or .NET if you tell me which it is for as i find they are slightly different.
I have thought of counting the ascii values of the whole string and adding a counter in the prog so when ascii for space is pressed it adds that as a word and puts it in the correct columns.
This seems a long way to go about it and i am also not very sure on how to count the ascii values into memory and take them as one word.
Could you please please help me ASAP.
Thanks!
Spyrit
I have to design a program that takes as input one line of text in the format:
SURNAME FIRSTNAME SUBJECT1 SUBJECT2 DOB
Then the program needs to rearrange this input in textbox1.text into the format:
FIRSTNAME SURNAME DOB SUBJECT1 SUBJECT2
into textbox2.text and then be able to copy the output to the clipboard.
I am open to any suggestions in VB6 or .NET if you tell me which it is for as i find they are slightly different.
I have thought of counting the ascii values of the whole string and adding a counter in the prog so when ascii for space is pressed it adds that as a word and puts it in the correct columns.
This seems a long way to go about it and i am also not very sure on how to count the ascii values into memory and take them as one word.
Could you please please help me ASAP.
Thanks!
Spyrit