INI_GetSectionsList

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > INI (Text INI Files) >

INI_GetSectionsList

 

Description

 

Retrieves a string containing the list of all sections present in an initialization file.

 

Syntax

 

s = INI_GetSectionsList(IniFileName [, Separator])

 

Returns

 

String.

 

Parameters

 

Name

Type

Optional

Meaning

IniFileName

String

No

Name of the INI file to load from

Separator

String

Yes

String separator to be used. If none is indicated $CRLF pairs will be used.

 

Remarks

 

Every section name is separated by a $CRLF (Carriage Return + Line Feed) separator if nothing is indicated.

Use PARSE$ and PARSECOUNT function to get specific section names.

 

Restrictions

 

See also

 

INI_GetKey, INI_GetSectionKeyList

 

Examples