TIniFile.EraseSection

procedure EraseSection(const Section: string) Section: Section to be erased

Description
This procedure deletes whole Section of a TIniFile

Example
example.ini in soldatserver's root folder (before the script execution)

script code: example.ini in soldatserver's root folder (after the script execution)