/** * \file forms_gettext.C * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * * \author Angus Leeming * * Full author contact details are available in file CREDITS. */ #include #include "forms_gettext.h" #include "support/lstrings.h" using std::string; namespace lyx { namespace frontend { // Extract shortcut from "|" string string const scex(string const & str) { return support::split(str, '|'); } // Extract identifier from "|" string string const idex(string const & str) { string identifier; support::split(str, identifier, '|'); return identifier; } } // namespace frontend } // namespace lyx