fn: sgnd_header_get_section_from_text
Purpose
Extract a named section from previously loaded comment text.
Arguments
$1— Header text.$2— Section name.$3— Destination variable name.
Side effects
Assigns the extracted section to the named variable.
Returns
- 0 if the section occurs; 1 if absent.
Usage
sgnd_header_get_section_from_text "$header_text" Metadata metadata_text
