View Single Post
 
Old 02-16-2015, 04:44 AM
bracketandquotes bracketandquotes is offline Windows 8 Office 2010 32bit
Novice
 
Join Date: Feb 2015
Posts: 8
bracketandquotes is on a distinguished road
Default

Thanks Guessed and macropod for doing up the codes.

Unfortunately they dont work completely. Commas do not show in the results and quotes arent applied to both texts within the brackets.

Both your result are identical after both the codes are run. As you can see there is no comma seperating the text within the brackets and quotes only show at beginning and end of text.

The result from both your codes:

('KAUS AAL'),
('KJFK AAL'),
('KORD AAL'),
('KSAN AAL'),
('CYYZ ACA'),


I would like it to be like this

('KAUS', 'AAL'),
('KJFK', 'AAL'),
('KORD', 'AAL'),
('KSAN', 'AAL'),
('CYYZ', 'ACA'),
Reply With Quote