I have a file with assembler instruction and i want read the lines of the file and put in a list of string, this is easy to do, but i don´t want to consider the caracteres "/" and the othes after him. file.asm: ADD D1 /coment1 LDA D2 /coment2 list of strings: X=[ 'ADD D1' , 'LDA D2' ] Juliano Freitas www.gebrasil.hpg.com.br