mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-18 22:41:18 +00:00
Fix CPString substringToIndex documentation. The index parameter is not inclusive.
This commit is contained in:
1 parent
29ff54054e
commit
7a1cd5c545
1 file changed
+4
-2
@@ -306,8 +306,10 @@ var CPStringRegexSpecialCharacters = [
|
||||
}
|
||||
|
||||
/*!
|
||||
Creates a substring from the beginning of the receiver to the specified index.
|
||||
@param anIndex the last index of the receiver to use for the substring (inclusive)
|
||||
Creates a substring of characters from the receiver, starting at the beginning and up to
|
||||
the given index.
|
||||
|
||||
@param anIndex the index of the receiver where the substring should end (non inclusive)
|
||||
@return the substring
|
||||
*/
|
||||
- (CPString)substringToIndex:(unsigned)anIndex
|
||||
|
||||
Reference in new issue
Block a user