Move replace functions from logic to core (bug 4406 part 7, r=fyren).

This commit is contained in:
David Anderson
2010-05-14 20:04:30 -07:00
parent 9137e92c09
commit d80191df3d
11 changed files with 211 additions and 206 deletions
+4
View File
@@ -34,6 +34,10 @@
const char *stristr(const char *str, const char *substr);
unsigned int strncopy(char *dest, const char *src, size_t count);
unsigned int UTIL_ReplaceAll(char *subject, size_t maxlength, const char *search,
const char *replace, bool caseSensitive = true);
char *UTIL_ReplaceEx(char *subject, size_t maxLen, const char *search, size_t searchLen,
const char *replace, size_t replaceLen, bool caseSensitive = true);
#endif /* _INCLUDE_SOURCEMOD_COMMON_STRINGUTIL_H_ */