I am trying to parse the following lines of data:
Slot : "6" "Feeder" : "12mm/8mm Tape" "Component ID" : "WLK0148" "Feeder Slot" : "6" "Rotation" : "0.000"
Slot : "15" "Feeder" : "Belt Reject" "Component ID" : "WLK0148" "Feeder Slot" : "15" "Rotation" : "0.000"
Slot : "8" "Feeder" : "12mm/8mm Tape" "Component ID" : "400010-001" "Feeder Slot" : "8" "Rotation" : "0.000"
............
............
............ so forth and so on......
where slot, feeder, Component ID, Feeder Slot and Rotation are datafields and value next to each of them is value corresponding to each field.
I want to parse these lines so that I can get the following output:
slot[tab] Feeder[TAB] Component ID[TAB] Feeder Slot[TAB]Rotation
6[TAB]12mm/8mm Tape[TAB]................
How can I do this in VB?
I tried to use Replace function with "blank" (quotes inclusive) with |(pipe) as search string as follow but I got syntax error:
Replace(sourceString, " '"' '"' ", "|")
What is the correct syntax?
TIA....
Slot : "6" "Feeder" : "12mm/8mm Tape" "Component ID" : "WLK0148" "Feeder Slot" : "6" "Rotation" : "0.000"
Slot : "15" "Feeder" : "Belt Reject" "Component ID" : "WLK0148" "Feeder Slot" : "15" "Rotation" : "0.000"
Slot : "8" "Feeder" : "12mm/8mm Tape" "Component ID" : "400010-001" "Feeder Slot" : "8" "Rotation" : "0.000"
............
............
............ so forth and so on......
where slot, feeder, Component ID, Feeder Slot and Rotation are datafields and value next to each of them is value corresponding to each field.
I want to parse these lines so that I can get the following output:
slot[tab] Feeder[TAB] Component ID[TAB] Feeder Slot[TAB]Rotation
6[TAB]12mm/8mm Tape[TAB]................
How can I do this in VB?
I tried to use Replace function with "blank" (quotes inclusive) with |(pipe) as search string as follow but I got syntax error:
Replace(sourceString, " '"' '"' ", "|")
What is the correct syntax?
TIA....
