strip_context


Description:

[ Version ( since = "2.4" ) ]
[ CCode ( cname = "g_strip_context" ) ]
public unowned string strip_context (string msgid, string msgval)

An auxiliary function for gettext support (see Q_).

Parameters:

msgid

a string

msgval

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


Namespace: GLib.Intl
Package: glib-2.0