buildInfoFromContent

fnIStr buildInfoFromContent(IStr content, IStr key) @safe nothrow @nogc

Returns the value associated with a key from a build info string. The lines of the string use the format: "key: value" Returns an empty string if the key is not found. Example: buildInfoFromContent("version: 1.0.0\nname: DMD", "name") returns "DMD".