Gambas Documentation - /comp/gb.util/csvfile/fields

/comp/gb.util/csvfile/fields

# CsvFile.Fields (gb.util)

Property Read Fields As String[]

Return the list of fields as a string array.

All field names are normalized by using the following algorithm:

- The name is converted to lower case.

- Newlines and tabs are replaced by spaces.

- Unbreakable spaces (Unicode 160) are replaced by normal spaces.

- If a space follows another space, it is removed.

- If the name is void, it is replaced by a `#` character followed by the field index number.