public static string ReplaceAlertToken(string script)
{
if (TokenUtils.IsAlertToken(script))
{
script = string.Format(ResourceManager.FunctionTemplate, "Ext.Msg.alert(".ConcatWith(script.Substring(0, script.Length - 1).Substring(2), ");"));
}
return script;
}