stripContext

fnstring stripContext(string msgid, string msgval)

An auxiliary function for gettext() support (see Q_()).

Parameters

msgida string
msgvalanother string

Returns

msgval, unless msgval is identical to msgid

and contains a '|' character, in which case a pointer to the substring of msgid after the first '|' character is returned.