Extract a field value from an already loaded section string.

SolidGroundUX DocumentationSolidGroundUX
NL

fn: sgnd_section_get_field_value

Purpose

Extract a field value from an already loaded section string.

Arguments

  • $1 — Section text.
  • $2 — Field name.

Output

Writes the trimmed value, without a trailing newline.

Returns

Status returned by the final print; an absent field produces empty output.

Usage

  sgnd_section_get_field_value "$metadata_text" Version