|
Samond Classes Library 1.2.0-RELEASE build 166
|
Class NSString extentions category. More...
#import <SCString.h>
Creating Strings | |
| (NSString *) | + stringWithIndexSet: |
| (NSString *) | + stringWithCharacter: |
| (NSString *) | + stringWithCharacter:length: |
| (NSString *) | + stringWithLength: |
| (NSString *) | + stringWithPointer: |
| (NSString *) | + stringWithID: |
Initializing Strings | |
| (id) | - initWithIndexSet: |
| (id) | - initWithCharacter: |
| (id) | - initWithCharacter:length: |
| (id) | - initWithLength: |
| (id) | - initWithPointer: |
| (id) | - initWithID: |
Serialized Files Support | |
| (NSString *) | + stringWithCoder: |
| (NSString *) | + stringWithContentsOfSerializedFile: |
| (id) | - initWithContentsOfSerializedFile: |
| (BOOL) | - writeContentsToSerializedFile: |
Data Dictionaries Support | |
| (NSString *) | + stringWithDataDictionary: |
| (NSString *) | + stringWithDataDictionaryFromFile: |
| (id) | - initWithDataDictionary: |
| (id) | - initWithDataDictionaryFromFile: |
| (void) | - writeToDataDictionary: |
| (void) | - writeToDataDictionaryFile:atomically: |
| (void) | - writeToDataDictionaryFile: |
| (NSDictionary *) | - dataDictionary |
Streams Support | |
| (NSString *) | + stringWithStream: |
| (NSString *) | + stringWithFileStream: |
| (id) | - initWithStream: |
| (id) | - initWithFileStream: |
| (void) | - writeToStream: |
| (void) | - writeToFileStream: |
| (void) | - appendToFileStream: |
Collections Support | |
| (id< SCCollectioning >) | - copyObject |
| (SCComparisonResult) | - compareWithObject: |
String Words | |
| NSString * | normalizedString |
| SCUInteger | wordsCount |
| NSString * | firstWord |
| NSString * | lastWord |
| NSString * | endOfString |
| (NSString *) | - word: |
Comparing Strings | |
| (BOOL) | - isEqualToStrings: |
Expanding Strings | |
| (NSString *) | + stringWithLeftExpandedString:length:character: |
| (NSString *) | + stringWithLeftExpandedString:length: |
| (NSString *) | + stringWithLeftZeroExpandedString:length: |
| (NSString *) | + stringWithRightExpandedString:length:character: |
| (NSString *) | + stringWithRightExpandedString:length: |
| (NSString *) | - leftExpandedStringToLength:character: |
| (NSString *) | - leftExpandedStringToLength: |
| (NSString *) | - leftZeroExpandedStringToLength: |
| (NSString *) | - rightExpandedStringToLength:character: |
| (NSString *) | - rightExpandedStringToLength: |
| (id) | - initWithLeftExpandedString:length:character: |
| (id) | - initWithLeftExpandedString:length: |
| (id) | - initWithLeftZeroExpandedString:length: |
| (id) | - initWithRightExpandedString:length:character: |
| (id) | - initWithRightExpandedString:length: |
Adding Delimiters | |
| (NSString *) | + stringWithString:separator:left: |
| (NSString *) | + stringWithString:spacesLeft: |
| (NSString *) | + stringWithString:separator:right: |
| (NSString *) | + stringWithString:spacesRight: |
| (NSString *) | - stringWithSeparator:left: |
| (NSString *) | - stringWithSpacesLeft: |
| (NSString *) | - stringWithSeparator:right: |
| (NSString *) | - stringWithSpacesRight: |
| (id) | - initWithString:separator:left: |
| (id) | - initWithString:spacesLeft: |
| (id) | - initWithString:separator:right: |
| (id) | - initWithString:spacesRight: |
Reversing Strings | |
| NSString * | reversedString |
| (NSString *) | + stringWithReversedString: |
| (id) | - initWithReversedString: |
Other Methods | |
| BOOL | empty |
| (NSString *) | - stringWithUpperFirstLetter |
Additional Inherited Members | |
Instance Methods inherited from <SCCoding> | |
Instance Methods inherited from <SCDictionaring> | |
Instance Methods inherited from <SCCollectioning> |
Class NSString extentions category.
Extends the functionality of the standard class NSString by adding the functions for string processing and library support (data dictionaries, collections, streams).
| - (void) appendToFileStream: | (NSString *) | path |
Appends the receiving string to the file stream with the specified path.
| path | - the path to the destination file path |
| SCStreamException | - stream error detected |
| SCSystemException | - system error detected |
Reimplemented from <SCStreaming>.
| - (SCComparisonResult) compareWithObject: | (id<SCCollectioning>) | object |
Returns the result of comparison the receiving string with a given another string.
| object | - the second instance for comparison |
Reimplemented from <SCCollectioning>.
| - (id< SCCollectioning >) copyObject |
Returns the copy of the receiving string.
Reimplemented from <SCCollectioning>.
| - (SCUInteger) countOfSubstring: | (NSString *) | substring |
Returns a number of occurrences the specified substring into the receiving substring by using the the case sensitive comparison operations.
| substring | - the required substring |
| - (SCUInteger) countOfSubstring: | (NSString *) | substring | |
| caseInsensitive: | (BOOL) | caseInsensitive | |
Returns a number of occurrences the specified substring into the receiving substring by using the specified case insensitive flag.
| substring | - the required substring |
| caseInsensitive | - YES for case insensitive comparison operations, otherwise NO |
| - (NSDictionary *) dataDictionary |
Returns the dictionary with the receiving string.
Reimplemented from <SCDictionaring>.
| - (BOOL) existsSubstring: | (NSString *) | substring |
Returns a boolean value that indicates whether the receiving string is contains the specified substring by using the case sensitive comparison operations.
| substring | - the required substring |
| - (BOOL) existsSubstring: | (NSString *) | substring | |
| caseInsensitive: | (BOOL) | caseInsensitive | |
Returns a boolean value that indicates whether the receiving string is contains the specified substring by using the specified case insensitive flag.
| substring | - the required substring |
| caseInsensitive | - YES for case insensitive comparison operations, otherwise NO |
| - (SCArray *) indexesOfSubstring: | (NSString *) | substring |
Returns an array with indexes of all occurrences a given substring into the receiving string by using the case sensitive comparison operations.
| substring | - the desired substring |
| - (SCArray *) indexesOfSubstring: | (NSString *) | substring | |
| caseInsensitive: | (BOOL) | caseInsensitive | |
Returns an array with indexes of all occurrences a given substring into the receiving string by using the specified case insensitive flag.
| substring | - the desired substring |
| caseInsensitive | - YES for case insensitive comparison operations, otherwise NO |
| - (SCUInteger) indexOfSubstring: | (NSString *) | substring |
Returns the index of the first occurrence a given substring into the receiving substring by using the case sensitive comparison operations.
| substring | - the desired substring |
| - (SCUInteger) indexOfSubstring: | (NSString *) | substring | |
| caseInsensitive: | (BOOL) | caseInsensitive | |
Returns the index of the first occurence a given substring into the receiving substring by using the specified case insensitive flag.
| substring | - the desired substring |
| caseInsensitive | - YES for case insensitive comparison operations, otherwise NO |
| - (id) initWithBinaryInteger: | (SCULong) | integer |
Initializes a string using a binary representation of the specified 32-bit integer value.
| integer | - the source integer value |
| - (id) initWithBinaryInteger: | (SCULong) | integer | |
| capacity: | (SCCapacity) | capacity | |
Initializes a string using a binary representation of the specified integer value and a given capacity.
| integer | - the source integer value |
| capacity | - the capacity of the integer value:
|
| - (id) initWithBool: | (BOOL) | boolean |
Initializes a string using a representation of the specified boolean value.
| boolean | - the source boolean value |
| - (id) initWithCharacter: | (unichar) | character |
Initializes a string by using the specified character.
| character | - the source character |
| - (id) initWithCharacter: | (unichar) | character | |
| length: | (SCUInteger) | length | |
Initializes a string by using the specified number of a given character.
| character | - the source character |
| length | - the number of the characters |
| - (id) initWithContentsOfSerializedFile: | (NSString *) | path |
Initializes a string by using the data from the serialized file with the specified path.
| path | - the path of the serialzed file |
Reimplemented from <SCCoding>.
| - (id) initWithDataDictionary: | (NSDictionary *) | dictionary |
Initializes a string by using the data from the specified data dictionary.
| dictionary | - the source data dictionary |
Reimplemented from <SCDictionaring>.
| - (id) initWithDataDictionaryFromFile: | (NSString *) | path |
Initializes a string by using the data from the dictionary file with the specified path.
| path | - the path to the source dictionary file |
Reimplemented from <SCDictionaring>.
| - (id) initWithDecimalInteger: | (SCLong) | integer |
Initializes a string using a decimal representation of the specified integer value.
| integer | - the source integer value |
| - (id) initWithDecimalInteger: | (SCLong) | integer | |
| separators: | (BOOL) | separators | |
Initializes a string using a decimal representation of the specified integer value and flag of using the digit group delimiters.
| integer | - the source integer value |
| separators | - YES for using digit group delimiters and NO for initializing string without digit group delimiters |
| - (id) initWithDouble: | (SCDouble) | value |
Initializes a string using a representation of the specified double value.
| value | - the source double value |
| - (id) initWithFileStream: | (NSString *) | path |
Initializes a string by using the data from the file stream with the specified path.
| path | - the path to the source file stream |
| SCStreamException | - stream error detected |
| SCSystemException | - system error detected |
Reimplemented from <SCStreaming>.
| - (id) initWithFloat: | (SCFloat) | value |
Initializes a string using a representation of the specified float value.
| value | - the source float value |
| - (id) initWithHexadecimalInteger: | (SCULong) | integer |
Initializes a string using a hexadecimal representation of the specified integer value.
| integer | - the source integer value |
| - (id) initWithHexadecimalInteger: | (SCULong) | integer | |
| capacity: | (SCCapacity) | capacity | |
Initializes a string using a hexadecimal representation of the specified integer value and a given capacity.
| integer | - the source integer value |
| capacity | - the capacity of the integer value:
|
| - (id) initWithID: | (id) | object |
Initializes a string by using the specified class instance.
| object | - the source class instance |
| - (id) initWithIndexSet: | (NSIndexSet *) | indexSet |
Initializes a string by using the specified index set.
| indexSet | - the source index set |
| - (id) initWithInteger: | (SCLong) | integer |
Initializes a string using a decimal representation of the specified integer value.
| integer | - the source integer value |
| - (id) initWithLeftExpandedString: | (NSString *) | string | |
| length: | (SCUInteger) | length | |
Initializes a string by padding the specified source string on the left with the spaces to a given length.
| string | - the source string |
| length | - the required length of the initialized string |
| - (id) initWithLeftExpandedString: | (NSString *) | string | |
| length: | (SCUInteger) | length | |
| character: | (unichar) | character | |
Initializes a string by padding the specified source string on the left with the specified character to a given length.
| string | - the source string |
| length | - the required length of the initialized string |
| character | - the character to padding |
| - (id) initWithLeftZeroExpandedString: | (NSString *) | string | |
| length: | (SCUInteger) | length | |
Initializes a string by padding the specified source string on the left with the zero characters to a given length.
| string | - the source string |
| length | - the required length of the initialized string |
| - (id) initWithLength: | (SCUInteger) | length |
Initializes a string by using the specified number of the space characters.
| length | - the length of the new string |
| - (id) initWithOctalInteger: | (SCULong) | integer |
Initializes a string using an octal representation of the specified integer value.
| integer | - the source integer value |
| - (id) initWithPointer: | (void *) | pointer |
Initializes a string by using the specified pointer.
| pointer | - the source pointer |
| - (id) initWithReversedString: | (NSString *) | string |
Initializes a string using the characters from a given string in the reversed order.
| string | - the source string |
| - (id) initWithRightExpandedString: | (NSString *) | string | |
| length: | (SCUInteger) | length | |
Initializes a string by padding the specified source string on the right with the spaces to a given length.
| string | - the source string |
| length | - the reqyuired length of the initialized string |
| - (id) initWithRightExpandedString: | (NSString *) | string | |
| length: | (SCUInteger) | length | |
| character: | (unichar) | character | |
Initializes a string by padding the specified source string on the right with the specified character to a given length.
| string | - the source string |
| length | - the required length of the initialized string |
| character | - the character to padding |
| - (id) initWithStream: | (SCStream *) | stream |
Initializes a string by using the data from the specified stream.
| stream | - the source stream |
| SCStreamException | - stream error detected |
| SCSystemException | - system error detected |
Reimplemented from <SCStreaming>.
| - (id) initWithString: | (NSString *) | string | |
| separator: | (NSString *) | separator | |
| left: | (SCUInteger) | left | |
Initializes a string by adding a given group separators after the specified number of characters from left to right of the specified source string.
| string | - the source string |
| separator | - the separator to add into the initialized string |
| left | - the number of characters within the each group |
| - (id) initWithString: | (NSString *) | string | |
| separator: | (NSString *) | separator | |
| right: | (SCUInteger) | right | |
Initializes a string by adding a given group separators after the specified number of characters from right to left of the specified source string.
| string | - the source string |
| separator | - the separator to add into the initialized string |
| right | - the number of characters within the each group |
| - (id) initWithString: | (NSString *) | string | |
| spacesLeft: | (SCUInteger) | left | |
Initializes a string by adding the spaces as a group separators after the specified number of characters from left to right of the specified source string.
| string | - the source string |
| left | - the number of characters within the each group |
| - (id) initWithString: | (NSString *) | string | |
| spacesRight: | (SCUInteger) | right | |
Initializes a string by adding the spaces as a group separators after the specified number of characters from right to left of the specified source string.
| string | - the source string |
| right | - the number of characters within the each group |
| - (BOOL) isBinaryString |
Returns a boolean value that determines whether the receiving string is a binary representation of the integer value.
| - (BOOL) isBooleanString |
Returns a boolean value that determines whether the receiving string is a boolean value representation.
| - (BOOL) isCorrectRange: | (NSRange) | range |
Returns a boolean value that indicates whether the specified characters range is correct within the receiving string.
| range | - the characters range to check |
| - (BOOL) isDecimalString |
Returns a boolean value that determines whether the receiving string is a decimal representation of the integer value.
| - (BOOL) isDoubleString |
Returns a boolean value that determines whether the receiving string is a representation of the double floating-point value.
| - (BOOL) isEqualToStrings: | (NSString *) | string | |
| , | NS_REQUIRES_NIL_TERMINATION | ||
Returns a boolean value that indicates whether the receiving string is equal to any string from a given string list.
| string | - the first string to compare with the receiving string |
| ... | - a null-terminated list of alternating strings to compare |
| NS_REQUIRES_NIL_TERMINATION | - the mandatory nil pointer |
| - (BOOL) isFloatString |
Returns a boolean value that determines whether the receiving string is a representation of the float floating-point value.
| - (BOOL) isHexadecimalString |
Returns a boolean value that determines whether the receiving string is a hexadecimal representation of the integer value.
| - (BOOL) isOctalString |
Returns a boolean value that determines whether the receiving string is an octal representation of the integer value.
| - (NSString *) leftExpandedStringToLength: | (SCUInteger) | length |
Returns a receiving string padded on the left by the spaces to the specified length.
| length | - the required string length |
| - (NSString *) leftExpandedStringToLength: | (SCUInteger) | length | |
| character: | (unichar) | character | |
Returns a receiving string padded on the left of the specified character to the specified length.
| length | - the required string length |
| character | - the padding character |
| - (NSString *) leftZeroExpandedStringToLength: | (SCUInteger) | length |
Returns a receiving string padded on the left by the zero characters to the specified length.
| length | - the required string length |
| - (NSString *) ltrim |
Returns the receiving string without the leading spaces and tabs.
| - (NSString *) rightExpandedStringToLength: | (SCUInteger) | length |
Returns a receiving string padded on the right by the spaces to the specified length.
| length | - the required length of the string |
| - (NSString *) rightExpandedStringToLength: | (SCUInteger) | length | |
| character: | (unichar) | character | |
Returns a receiving string padded on the right by the specified character to the specified length.
| length | - the required string length |
| character | - the padding character |
| - (NSString *) rtrim |
Returns the receiving string without the trailing spaces and tabs.
| - (NSString *) skipLeftPart: | (SCUInteger) | characters |
Returns a receiving string without the specified number of the leading characters.
| characters | - the number of the characters to remove |
| - (NSString *) skipRightPart: | (SCUInteger) | characters |
Returns a string without the specified number of the trailing characters.
| characters | - the number of the characters to remove |
| + (NSString *) stringWithBinaryInteger: | (SCULong) | integer |
Returns a string created by using a binary representation of the specified 32-bit integer value.
| integer | - the source integer value |
| + (NSString *) stringWithBinaryInteger: | (SCULong) | integer | |
| capacity: | (SCCapacity) | capacity | |
Returns a string created by using a binary representation of the specified integer value and a given capacity:
| integer | - the source integer value |
| capacity | - the capacity of the integer value:
|
| + (NSString *) stringWithBool: | (BOOL) | boolean |
Returns a string created by using a representation of the specified boolean value.
| boolean | - the source boolean value |
| + (NSString *) stringWithCharacter: | (unichar) | character |
Returns a string created by using the specfied character.
| character | - the source character |
| + (NSString *) stringWithCharacter: | (unichar) | character | |
| length: | (SCUInteger) | length | |
Returns a string created by using the specified character and a length of the new string.
| character | - the source character |
| length | - the length of the new string |
| + (NSString *) stringWithCoder: | (NSCoder *) | coder |
Returns a string created by using the data from the specified coder.
| coder | - the source coder |
| + (NSString *) stringWithContentsOfSerializedFile: | (NSString *) | path |
Returns a string created by using the data from the serialized file with the specified path.
| path | - the path of the serialized file |
| + (NSString *) stringWithDataDictionary: | (NSDictionary *) | dictionary |
Returns a string created by using the data from the specified data dictionary.
| dictionary | - the source data dictionary |
| + (NSString *) stringWithDataDictionaryFromFile: | (NSString *) | path |
Returns a string created by using the data from the dictionary file with the specified path.
| path | - the path to the source dictionary file |
| + (NSString *) stringWithDecimalInteger: | (SCLong) | integer |
Returns a string created by using a decimal representation of the specified integer value.
| integer | - the source integer value |
| + (NSString *) stringWithDecimalInteger: | (SCLong) | integer | |
| separators: | (BOOL) | separators | |
Returns a string created by using a decimal representation of the specified integer value and a flag of using the digit group delimiters.
| integer | - the source integer value |
| separators | - YES for using the digit group delimiters and NO for creating string without digit group delimiters |
| - (NSString *) stringWithDeletedSubstring: | (NSString *) | substring |
Returns the receiving string without a given substring by using the case sensitive comparison operations.
| substring | - the substring to remove |
| - (NSString *) stringWithDeletedSubstring: | (NSString *) | substring | |
| caseInsensitive: | (BOOL) | caseInsensitive | |
Returns the receiving string without a given substring by using the specified case insensitive flag.
| substring | - the substring to remove |
| caseInsensitive | - YES for case insensitive comparison operations, otherwise NO |
| - (NSString *) stringWithDeletedSubstringFromIndex: | (SCUInteger) | index |
Returns the receiving string without characters after the specified index.
| index | - the index of the first character to remove |
| - (NSString *) stringWithDeletedSubstringToIndex: | (SCUInteger) | index |
Returns the receiving string without the characters before a given index.
| index | - the index of the last removed character |
| - (NSString *) stringWithDeletedSubstringToRange: | (NSRange) | range |
Returns the receiving string with characters after a given range.
| range | - the range of the characters |
| - (NSString *) stringWithDeletedSubstringWithRange: | (NSRange) | range |
Returns the receiving string without characters within the specified range.
| range | - the range of characters to remove |
| + (NSString *) stringWithDouble: | (SCDouble) | value |
Return a string created by using a representation of the specified double value.
| value | - the source double value |
| + (NSString *) stringWithFileStream: | (NSString *) | path |
Returns a string created by using the data from the file stream with the specified path.
| path | - the path to the source file stream |
| SCStreamException | - stream error detected |
| SCSystemException | - system error detected |
| + (NSString *) stringWithFloat: | (SCFloat) | value |
Returns a string created by using a representation of the specified float value.
| value | - the source float value |
| + (NSString *) stringWithHexadecimalInteger: | (SCULong) | integer |
Returns a string created by using a hexadecimal representation of the specified integer value.
| integer | - the source integer value |
| + (NSString *) stringWithHexadecimalInteger: | (SCULong) | integer | |
| capacity: | (SCCapacity) | capacity | |
Returns a string created by using a hexadecimal representation of the specified integer value and a given capacity.
| integer | - the source integer value |
| capacity | - the capacity of the integer value:
|
| + (NSString *) stringWithID: | (id) | object |
Returns a string created by using the specified object.
| object | - the source object |
| + (NSString *) stringWithIndexSet: | (NSIndexSet *) | indexSet |
Returns a string created by using the specified index set.
| indexSet | - the source index set |
| - (NSString *) stringWithInsertedString: | (NSString *) | string |
Returns the receiving string with a given substring before the first character.
| string | - the substring to insert |
| - (NSString *) stringWithInsertedString: | (NSString *) | string | |
| index: | (SCUInteger) | index | |
Inserts the specified substring at a given index and returns the new string.
| string | - the substring to insert |
| index | - the index to the inserting a substring |
| + (NSString *) stringWithInteger: | (SCLong) | integer |
Returns a string created by using a decimal representation of the specified integer value.
| integer | - the source integer value |
| - (NSString *) stringWithLeftCharacters: | (SCUInteger) | characters |
Returns a string with the specified number of the leading characters from the receiving string.
| characters | - the number of the leading characters |
| + (NSString *) stringWithLeftExpandedString: | (NSString *) | string | |
| length: | (SCUInteger) | length | |
Returns a string created by padding the specified source string on the left with the spaces to a given length.
| string | - the source string |
| length | - the required length of the new string |
| + (NSString *) stringWithLeftExpandedString: | (NSString *) | string | |
| length: | (SCUInteger) | length | |
| character: | (unichar) | character | |
Returns a string created by padding the specified source string on the left with the specified character to a given length.
| string | - the source string |
| length | - the required length of the new string |
| character | - the character to padding |
| + (NSString *) stringWithLeftZeroExpandedString: | (NSString *) | string | |
| length: | (SCUInteger) | length | |
Returns a string created by padding the specified source string on the left with the zero characters to a given length.
| string | - the source string |
| length | - the required length of the new string |
| + (NSString *) stringWithLength: | (SCUInteger) | length |
Returns a string created by using the specified number of the space characters.
| length | - the length of the new string |
| + (NSString *) stringWithOctalInteger: | (SCULong) | integer |
Returns a string created by using an octal representation of the specified integer value.
| integer | - the source integer value |
| + (NSString *) stringWithPointer: | (void *) | pointer |
Returns a string created by using the specified pointer.
| pointer | - the source pointer |
| - (NSString *) stringWithReplacedSubstring: | (NSString *) | substring | |
| withString: | (NSString *) | string | |
Returns the receiving string in which all occurrences of the specified substring are replaced by using an another given string.
| substring | - the substring to replace |
| string | - the new substring |
| - (NSString *) stringWithReplacedSubstring: | (NSString *) | substring | |
| withString: | (NSString *) | string | |
| caseInsensitive: | (BOOL) | caseInsensitive | |
Returns the receiving string in which all occurrences of the specified substring are replaced by using an another given string.@ Additional flag defines the case sensitive mode.
| substring | - the substring to replace |
| string | - the new substring |
| caseInsensitive | - YES for the case insensitive mode and NO for the case sensitive comparison operations |
| - (NSString *) stringWithReplacedSubstringFromIndex: | (SCUInteger) | index | |
| withString: | (NSString *) | string | |
Returns the receiving string with the specified number of the trailing characters is replaced by a given substring.
| index | - the index of the first character to replace |
| string | - the substring with which will be replaced the specified characters |
| - (NSString *) stringWithReplacedSubstringToIndex: | (SCUInteger) | index | |
| withString: | (NSString *) | string | |
Returns the receiving string with the specified number of the leading characters is replaced by a given substring.
If the specified substring is empty, then returns the receiving string without the characters before the specified index.
| index | - the index of the last character to replace |
| string | - the substring with which will be replaced the specified characters |
| - (NSString *) stringWithReplacedSubstringWithRange: | (NSRange) | range | |
| withString: | (NSString *) | string | |
Returns the receiving string with the characters within a given range are replaced by the specified substring.
| range | - the range of the characters to replace |
| string | - the substring with which will be replaced the specified characters |
| + (NSString *) stringWithReversedString: | (NSString *) | string |
Returns a string created by using the characters from a given string in the reversed order.
| string | - the source string |
| - (NSString *) stringWithRightCharacters: | (SCUInteger) | characters |
Returns a string with the specified number of the trailing characters from the receiving string.
| characters | - the number of the trailing characters |
| + (NSString *) stringWithRightExpandedString: | (NSString *) | string | |
| length: | (SCUInteger) | length | |
Returns a string created by padding the specified source string on the right with the spaces to a given length.
| string | - the source string |
| length | - the required length of the new string |
| + (NSString *) stringWithRightExpandedString: | (NSString *) | string | |
| length: | (SCUInteger) | length | |
| character: | (unichar) | character | |
Returns a string created by padding the specified source string on the right with the specified character to a given length.
| string | - the source string |
| length | - the required length of the new string |
| character | - the character to padding |
| - (NSString *) stringWithSeparator: | (NSString *) | separator | |
| left: | (SCUInteger) | left | |
Returns a string with the added given group separators after the specified number of characters from the left to right of the receiving string.
| separator | - the separator to add into the receiving string |
| left | - the number of the characters within the each group |
| - (NSString *) stringWithSeparator: | (NSString *) | separator | |
| right: | (SCUInteger) | right | |
Returns a string with the added given group separators after the specified number of characters from right to left of the receiving string.
| separator | - the separator to add into the receiving string |
| right | - the number of the characters within the each group |
| - (NSString *) stringWithSpacesLeft: | (SCUInteger) | left |
Returns a string with the added spaces as a group separators after the specified number of character from the left to right of the receiving string.
| left | - the number of the characters within the each group |
| - (NSString *) stringWithSpacesRight: | (SCUInteger) | right |
Returns a string with the added spaces as a group separators after the specified number of characters from the left to right of the receiving string.
| right | - the number of the characters within the each group |
| + (NSString *) stringWithStream: | (SCStream *) | stream |
Returns a string created by using the data from the specified stream.
| stream | - the source stream |
| SCStreamException | - stream error detected |
| SCSystemException | - system error detected |
| + (NSString *) stringWithString: | (NSString *) | string | |
| separator: | (NSString *) | separator | |
| left: | (SCUInteger) | left | |
Returns a string created by adding a given group separators after the specified number of characters from left to right of the specified source string.
| string | - the source string |
| separator | - the separator to add into the created string |
| left | - the number of the characters within the each griup |
| + (NSString *) stringWithString: | (NSString *) | string | |
| separator: | (NSString *) | separator | |
| right: | (SCUInteger) | right | |
Returns a string created by adding a given group separators after the specified number of characters from right to left of the specified source string.
| string | - the source string |
| separator | - the separator to add into the created string |
| right | - the number of the characters within the each group |
| + (NSString *) stringWithString: | (NSString *) | string | |
| spacesLeft: | (SCUInteger) | left | |
Returns a string created by adding the spaces as a group separators after the specified number of characters from left to right of the specified source string.
| string | - the source string |
| left | - the number of the characters within the each group |
| + (NSString *) stringWithString: | (NSString *) | string | |
| spacesRight: | (SCUInteger) | right | |
Returns a string created by adding the spaces as a group separators after the specified number of characters from right to left of the specified source string.
| string | - the source string |
| right | - the number of the characters within the each group |
| - (NSString *) stringWithUpperFirstLetter |
Returns a string with the first character in uppercase and other characters in lowercase.
| - (NSString *) trim |
Returns the receiving string without leading and trailing spaces and tabs.
| - (NSString *) word: | (SCUInteger) | word |
Returns the word of the receiving string at the specified index.
| word | - the index of the word |
| - (BOOL) writeContentsToSerializedFile: | (NSString *) | path |
Writes the receiving string to the serialized file with the specified path.
| path | - the path to the serialized file |
Reimplemented from <SCCoding>.
| - (void) writeToDataDictionary: | (NSMutableDictionary *) | dictionary |
Writes the receiving string into the specified data dictionary.
| dictionary | - the dictionary to store the receiving string |
Reimplemented from <SCDictionaring>.
| - (void) writeToDataDictionaryFile: | (NSString *) | path |
Writes the receiving string into the data dictionary file with the specified path.
| path | - the path to the data dictionary file |
Reimplemented from <SCDictionaring>.
| - (void) writeToDataDictionaryFile: | (NSString *) | path | |
| atomically: | (BOOL) | atomically | |
Writes the receiving string into the data dictionary file with the specified path.
| path | - the path to the data dictionary file |
| atomically | - YES for using the intermediate file and NO for direct writing operation |
Reimplemented from <SCDictionaring>.
| - (void) writeToFileStream: | (NSString *) | path |
Writes the receiving string to the file stream with the specified path.
| path | - the path to the destination file stream |
| SCStreamException | - stream error detected |
| SCSystemException | - system error detected |
Reimplemented from <SCStreaming>.
| - (void) writeToStream: | (SCStream *) | stream |
Writes the receiving string to the specified stream.
| stream | - the destination stream |
| SCStreamException | - stream error detected |
| SCSystemException | - system error detected |
Reimplemented from <SCStreaming>.
|
readnonatomicassign |
The integer value of the binary integer string
|
readnonatomicassign |
The boolean value of the string
|
readnonatomicassign |
The integer value of the decimal integer string
|
readnonatomicassign |
The boolean value that detrmines whether the string is contains at least one character
|
readnonatomicretain |
String without the first word
|
readnonatomicretain |
First word of the receiving string
|
readnonatomicassign |
The integer value of the hexadecimal integer string
|
readnonatomicretain |
Last word of the receiving string
|
readnonatomicretain |
Normilized string
|
readnonatomicassign |
The integer value of the octal integer string
|
readnonatomicretain |
The string with the reversed order of the characters
|
readnonatomicassign |
Number of words within the receiving string
1.8.9.1