Octane Connector 12.13

# parse_csv

The `parse_csv` method parses a string of comma-separated values into individual strings. The method understands quoted values (such that parsing 'foot, "leg, torso", elbow' produces three values) and ignores white space around delimiters.

## Syntax

    parse_csv( input [, delimiter ] )

## Arguments

Argument | Description
--- | ---
`input` | (string) The string to parse.
`delimiter` | (string) The delimiter to use (the default delimiter is ",").

## Returns

(Strings). You can put them in a table like this:

    local results = { parse_csv("cat,tree,house", ",") };

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Octane Connector 12.13

Topic Title: parse_csv