ExpandString
status_t err = ExpandString(&buf, in);
status_t err = ExpandString(out, val);
status_t ExpandString(BString* out, const char* in);