Convert built-in string assertion to plug-in