Skip to content
Advertisement

Tag: separator

Read string value including spaces : Java

I need to read space-separated values from a file that is separated by a colon. My file has this data – Current implementation: I am copying all the values after delimiter (colon in my case) to a new file and reading values from the new file accordingly. While copying entries to new file spaces are being ignored. In the above

Advertisement