From 220aec7789797f52ce54df63a4bf8606798086fe Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Wed, 23 May 2007 02:24:13 +0000 Subject: [PATCH] Fixed param order in documentation for SplitString Why? I don't know. --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40845 --- plugins/include/string.inc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/plugins/include/string.inc b/plugins/include/string.inc index 816234a2..2be06ad2 100644 --- a/plugins/include/string.inc +++ b/plugins/include/string.inc @@ -216,13 +216,21 @@ stock StrBreak(const String:source[], String:arg[], argLen) return BreakString(source, arg, argLen); } +/** + * Removes whitespace characters from the beginning and end of a string. + * + * @param str The string to trim. + * @return Number of bytes written (UTF-8 safe). + */ +native TrimString(String:str[]); + /** * Returns text in a string up until a certain character sequence is reached. * * @param source Source input string. + * @param split A string which specifies a search point to break at. * @param part Buffer to store string part. * @param partLen Maximum length of the string part buffer. - * @param split A string which specifies a search point to break at. * @return -1 if no match was found; otherwise, an index into source * marking the first index after the searched text. The * index is always relative to the start of the input string. @@ -379,14 +387,6 @@ stock StrCat(String:buffer[], maxlength, const String:source[]) return Format(buffer[len], maxlength-len, "%s", source); } -/** - * Removes whitespace characters from the beginning and end of a string. - * - * @param str The string to trim. - * @return Number of bytes written (UTF-8 safe). - */ -native TrimString(String:str[]); - /** * Breaks a string into pieces and stores each piece into an array of buffers. *