Hi, I'm trying to parse out the fields from the column title line of a
table, which has the following format:
"Var 1 [units] Var 2 [units] Var 3 [units]"
Each column title is separated by at least two spaces, and never only
one space. However, to the best of my understanding, the functions
str_fields_count and str_get_field cannot use multiple consecutive
spaces (or multiple consecutive anything) as a delimiter, without also
couting single spaces as a delimiter. Is there any way in NCL to parse
out fields from a string using double spaces but *NOT* single spaces as
a delimiter?
Jared
-- ================ Dr. Jared A. Lee Postdoctoral Research Scientist National Center for Atmospheric Research Phone: 303.497.8485 Email: jaredlee@ucar.edu Web: https://staff.ucar.edu/users/jaredlee ================ _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Fri Jan 03 13:24:02 2014
This archive was generated by hypermail 2.1.8 : Mon Jan 06 2014 - 13:09:54 MST