sS getColonProperty(S name, LS lines) { if (lines != null) for (S s : lines) { s = trim(s); if (swic(s, name)) { s = trimSubstring(s, l(name)); if (startsWith(s, ":")) ret trimSubstring(s, 1); } } null; } sS getColonProperty(S name, S text) { ret getColonProperty(name, tlft(text)); }