buildInfoLineHeader

fnIStr buildInfoLineHeader(IStr line) @safe nothrow @nogc

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".