stripContext

fun stripContext(msgid: String, msgval: String): String

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

Return

@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.

Since

2.4

Parameters

msgid

a string

msgval

another string