2 * \file forms_gettext.C
3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Angus Leeming
8 * Full author contact details are available in file CREDITS.
12 #include "forms_gettext.h"
14 #include "support/lstrings.h"
16 namespace support = lyx::support;
19 // Extract shortcut from "<identifier>|<shortcut>" string
20 string const scex(string const & str)
22 return support::split(str, '|');
26 // Extract identifier from "<identifier>|<shortcut>" string
27 string const idex(string const & str)
30 support::split(str, identifier, '|');