[Half-Life AMXX] / compiled / climb_2_0_a3 / amxmodx / scripting / include / string2.inc Repository:
ViewVC logotype

View of /compiled/climb_2_0_a3/amxmodx/scripting/include/string2.inc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (download) (annotate)
Tue Oct 30 09:08:11 2007 UTC (16 years, 5 months ago) by ian
File size: 1019 byte(s)
/*
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 General Public License as  published by the Free Software Foundation; either version 2 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; go to http://www.opensource.org/licenses/gpl-license.php
Additional String manipulation
*/

#if defined _string2_included
  #endinput
#endif
#define _string2_included

//Replace HTML Special Characters with Entity References
stock htmlspecialchars(string[]){
	replace(string,512,"&","&")
	replace(string,512,"<","&lt;")
	replace(string,512,">","&gt;")
	return 1
}

Contact
ViewVC Help
Powered by ViewVC 1.0.4