/* string2 v0.1 Copyright (C) 2006-2007 Ian (Juan) Cammarata This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . -------------------------------------------------------------------------------- http://ian.cammarata.us Additional String manipulation */ #if defined _string2_included #endinput #endif #define _string2_included //Replace HTML Special Characters with Entity References stock htmlspecialchars(string[]){ new str2[512] format(str2,511,string) replace(str2,999,"&","&") replace(str2,999,"<","<") replace(str2,999,">",">") return str2 }