IStr buildInfoLineHeader(IStr line)
Returns the section name from a build info header line like [window], or an empty string if the line is not a header. Example: buildInfoLineHeader("[window]") returns "window".
[window]
buildInfoLineHeader("[window]")
"window"