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

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -