Fixed param order in documentation for SplitString
authorScott Ehlert <ds@alliedmods.net>
Wed May 23 02:24:13 2007 +0000 (2007-05-23)
changeset 8394fd0161ef304
parent 838 1a610bdea281
child 840 5b83f1924e94
Fixed param order in documentation for SplitString
Why? I don't know.
plugins/include/string.inc
     1.1 --- a/plugins/include/string.inc	Wed May 23 01:59:58 2007 +0000
     1.2 +++ b/plugins/include/string.inc	Wed May 23 02:24:13 2007 +0000
     1.3 @@ -217,12 +217,20 @@
     1.4  }
     1.5  
     1.6  /**
     1.7 + * Removes whitespace characters from the beginning and end of a string.
     1.8 + *
     1.9 + * @param str			The string to trim.
    1.10 + * @return				Number of bytes written (UTF-8 safe).
    1.11 + */
    1.12 +native TrimString(String:str[]);
    1.13 +
    1.14 +/**
    1.15   * Returns text in a string up until a certain character sequence is reached.
    1.16   *
    1.17   * @param source		Source input string.
    1.18 + * @param split			A string which specifies a search point to break at.
    1.19   * @param part			Buffer to store string part.
    1.20   * @param partLen		Maximum length of the string part buffer.
    1.21 - * @param split			A string which specifies a search point to break at.
    1.22   * @return				-1 if no match was found; otherwise, an index into source
    1.23   *						marking the first index after the searched text.  The
    1.24   *						index is always relative to the start of the input string.
    1.25 @@ -380,14 +388,6 @@
    1.26  }
    1.27  
    1.28  /**
    1.29 - * Removes whitespace characters from the beginning and end of a string.
    1.30 - *
    1.31 - * @param str			The string to trim.
    1.32 - * @return				Number of bytes written (UTF-8 safe).
    1.33 - */
    1.34 -native TrimString(String:str[]);
    1.35 -
    1.36 -/**
    1.37   * Breaks a string into pieces and stores each piece into an array of buffers.
    1.38   *
    1.39   * @param text				The string to split.