plugins/include/string.inc
changeset 475 bb11d7eaae0f
parent 454 8c4310a8f258
child 619 6934bf39171e
     1.1 --- a/plugins/include/string.inc	Mon Feb 12 08:28:35 2007 +0000
     1.2 +++ b/plugins/include/string.inc	Mon Feb 12 09:00:55 2007 +0000
     1.3 @@ -1,4 +1,5 @@
     1.4  /**
     1.5 + * vim: set ts=4 :
     1.6   * ===============================================================
     1.7   * SourceMod (C)2004-2007 AlliedModders LLC.  All rights reserved.
     1.8   * ===============================================================
     1.9 @@ -27,8 +28,8 @@
    1.10  /**
    1.11   * Calculates the length of a string.
    1.12   *
    1.13 - * @param str		String to check.
    1.14 - * @return		Length of string, in cells (NOT characters).
    1.15 + * @param str			String to check.
    1.16 + * @return				Length of string, in cells (NOT characters).
    1.17   */
    1.18  native strlen(const String:str[]);
    1.19  
    1.20 @@ -38,9 +39,9 @@
    1.21   * @param str			String to search in.
    1.22   * @param substr		Substring to find inside the original string.
    1.23   * @param caseSensitive	If true (default), search is case sensitive.
    1.24 - * 					If false, search is case insensitive.
    1.25 - * @return			-1 on failure (no match found).  Any other value
    1.26 - *					indicates a position in the string where the match starts.
    1.27 + *						If false, search is case insensitive.
    1.28 + * @return				-1 on failure (no match found). Any other value
    1.29 + *						indicates a position in the string where the match starts.
    1.30   */
    1.31  native StrContains(const String:str[], const String:substr[], bool:caseSensitive=true);
    1.32  
    1.33 @@ -50,10 +51,10 @@
    1.34   * @param str1			First string (left).
    1.35   * @param str2			Second string (right).
    1.36   * @param caseSensitive	If true (default), comparison is case sensitive.
    1.37 - * 					If false, comparison is case insensitive.
    1.38 - * @return			-1 if str1 < str2
    1.39 - *					0 if str1 == str2
    1.40 - * 					1 if str1 > str2
    1.41 + *						If false, comparison is case insensitive.
    1.42 + * @return				-1 if str1 < str2
    1.43 + *						0 if str1 == str2
    1.44 + *						1 if str1 > str2
    1.45   */
    1.46  native StrCompare(const String:str1[], const String:str2[], bool:caseSensitive=true);
    1.47