# Class CsvParser

© 2019 Palo Alto Networks, Inc. All rights reserved.

Licensed under SCRIPT SOFTWARE AGREEMENT, Palo Alto Networks, Inc., at https://www.paloaltonetworks.com/legal/script-software-license-1-0.pdf

Located at misc-classes/CsvParser.php

Methods summary
`public static false|string[] &` | # `parseFile( string $fileName, string & $errorMessage, boolean $hasHeaders = TRUE, boolean $skipEmptyLines = FALSE, null|string[] $customHeaders = null )` #### Parameters $fileName `string` $fileName $errorMessage `string` $errorMessage $hasHeaders `boolean` $hasHeaders $skipEmptyLines `boolean` $skipEmptyLines $customHeaders `null|string[]` $customHeaders #### Returns `false|string[]`
`public static false|string[] &` | # `parseString( string $content, string & $errorMessage, boolean $hasHeaders = TRUE, boolean $skipEmptyLines = FALSE, null|string[] $customHeaders = null )` #### Parameters $content `string` $content $errorMessage `string` $errorMessage $hasHeaders `boolean` $hasHeaders $skipEmptyLines `boolean` $skipEmptyLines $customHeaders `null|string[]` $customHeaders #### Returns `false|string[]`