String Sub-Package

As discussed in the General Data File Sub-Package section, there is sometimes a requirement to read in and parse tabular information from files. The KP op_prg_gdf_read() supports the process of reading in an ASCII GDF and storing it in a list of strings. Typically, these file lines, which represent rows of a table, must be parsed into fields. The Str sub-package KP op_prg_str_decomp() supports the decomposition of strings into lists of fields; the decomposition is performed based on a set of specified separator characters, such as commas, tabs, semi-colons, etc.