Fixed param order in documentation for SplitString

Why? I don't know.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40845
This commit is contained in:
Scott Ehlert 2007-05-23 02:24:13 +00:00
parent caab299d3e
commit 220aec7789

View File

@ -216,13 +216,21 @@ stock StrBreak(const String:source[], String:arg[], argLen)
return BreakString(source, 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. * Returns text in a string up until a certain character sequence is reached.
* *
* @param source Source input string. * @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 part Buffer to store string part.
* @param partLen Maximum length of the string part buffer. * @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 * @return -1 if no match was found; otherwise, an index into source
* marking the first index after the searched text. The * marking the first index after the searched text. The
* index is always relative to the start of the input string. * 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); 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. * Breaks a string into pieces and stores each piece into an array of buffers.
* *