Template
/// <summary> /// This method is used to extract text from the property value /// that matches the pattern "${ *TEXT }". Such patterns within /// the properties file are considered to be system /// variables, this will replace instances of the text pattern /// with the matching system variable, if a matching /// variable does not exist the value remains unmodified. /// </summary> public void Name() { while (off < source.count) { char next = source.buf[off++]; if (next == '}') { Replace(); break; } else { name.Append(next); } } if (name.Length() > 0) { text.Append("${"); text.Append(name); } }