java - How to use delimiter using scanner when the file contain "0195153448";"Classical Mythology";"Mark P. O. Morford";"2002";"Oxford University Press" -


how use delimiter using scanner in java when text file contain following line.

"0195153448";"classical mythology";"mark p. o. morford";"2002";"oxford university press" 

how output:

0195153448 classical mythology mark p. o. morford 2002 oxford university press 

please tell me how use scanner delimiter in java here.

scan.usedelimiter(pattern.compile(";")); scanner.usedelimiter("");


Comments

Popular posts from this blog

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -