This repository was archived by the owner on Aug 13, 2026. It is now read-only.
Repository navigation
extracting latitude from a string #129
Answered
by
dopplershift
arunaskuciauskas
asked this question in
Q&A
|
Hi: I am trying to extract the latitude from hundreds of files that contain the following listing: I perform the following read: resulting in output: where the latitude is -0.36, my intended value. In reading multiple files, the latitude value in the files can vary I applied a split on the '/' as: resulting in output: resulting in output: The start of the latitude value always starts in the 7th position |
Answered by
dopplershift
Feb 19, 2022
Replies: 1 comment
|
Apologies for the delayed response. I wouldn't use |
0 replies
Answer selected by
dcamron
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apologies for the delayed response. I wouldn't use
parse_csvto handle any of that header, only the later data. This is what I wrote to parse what you provided: