|
Samond Classes Library 1.1.6-RELEASE build 132
|
Additional functionality for class NSString. More...
#import <SCString.h>
Additional functionality for class NSString.
Category SCString extends functionality of standard class NSString.
This category was introduced in version 1.0.0.
Category declared the following properties:
| - (void) appendToFileStream: | (NSString *) | path |
Appends the receiver's string to the new or existing stream file with the specified path.
| path | - stream file path |
| SCStreamException | - stream operation error detected |
| - (SCULong) binaryInteger |
Converts the receiver's string into the integer value as a binary text representation.
| - (BOOL) boolean |
Returns boolean value of receiver's text representation of boolean value.
| + (BOOL) characterIsBinaryInteger: | (unichar) | chr |
Checks whether the specified character is a binary digit.
| chr | - source character |
| + (BOOL) characterIsDecimalInteger: | (unichar) | chr |
Checks whether the specified character is a decimal digit.
| chr | - source character |
| + (BOOL) characterIsHexadecimalInteger: | (unichar) | chr |
Checks whether the specified character is a hexadecimal digit.
| chr | - checked character |
| + (BOOL) characterIsInteger: | (unichar) | chr |
Checks whether the specified character is a decimal digit.
| chr | - source character |
| + (BOOL) characterIsInteger: | (unichar) | chr | |
| base: | (SCIntegerBase) | base | |
Checks whether character is digit with the specified base.
| chr | - checked character |
| base | - integer base |
| + (BOOL) characterIsOctalInteger: | (unichar) | chr |
Checks whether the specified character is an octal digit.
| chr | - source character |
| + (SCInteger) characterToInteger: | (unichar) | chr |
Converts the character into integer value.
| chr | - source character |
| - (NSString *) className |
Returns a receiver's string class name.
| - (SCComparisonResult) compareWithObject: | (id<SCCollectionProtocol>) | object |
Returns the result of comparison receiver's instance with the specified instance.
| object | - second instance for comparison |
| SCCollectionException | - incompatible second instance detected |
| - (id< SCCollectionProtocol >) copyObject |
Returns the copy of receiver's instance.
| - (NSDictionary *) dataDictionary |
Returns the dictionary with the receiver's string.
| - (SCULong) decimalInteger |
Returns an integer value of the receiver's text representation of the decimal integer value.
| - (NSString *) endOfString |
Returns a receiver's string without first word.
| - (NSString *) expandDigitalStringToLength: | (SCUInteger) | length |
Returns a string padded on the left of the zero characters to the specified length.
| length | - required string length |
| - (NSString *) expandLeftStringToLength: | (SCUInteger) | length |
Returns a string padded on the left of the spaced to the specified length.
| length | - required string length |
| - (NSString *) expandLeftStringToLength: | (SCUInteger) | length | |
| character: | (unichar) | chr | |
Returns a string padded on the left of the specified character to the specified length.
| length | - required string length |
| chr | - padding character |
| - (NSString *) expandRightStringToLength: | (SCUInteger) | length |
Returns a string padded on the right of the spaced to the specified length.
| length | - required string length |
| - (NSString *) expandRightStringToLength: | (SCUInteger) | length | |
| character: | (unichar) | chr | |
Returns a string padded on the right of the specified characters to the specified length.
| length | - required string length |
| chr | - padding character |
| - (NSString *) firstWord |
Returns a first word of the receiver's string.
| - (SCULong) hexadecimalInteger |
Returns an integer value of hexadecimal text representation of receiver's value.
| - (SCArray *) indexesOfSubstring: | (NSString *) | substring |
Returns an array with the indexes of all occurrences of the specified substring.
| substring | - desired substring |
| - (SCArray *) indexesOfSubstring: | (NSString *) | substring | |
| caseInsensitive: | (BOOL) | value | |
Returns an array with the indexes of all occurrences of the specified substring. Case insensitively depends on the value of the specified flag
| substring | - desired substring |
| value | - YES for case insensitive comparison operations, otherwise NO |
| - (SCUInteger) indexOfSubstring: | (NSString *) | substring |
Returns the index of the first occurrence of the specified substring.
| substring | - desired substring |
| - (SCUInteger) indexOfSubstring: | (NSString *) | substring | |
| caseInsensitive: | (BOOL) | value | |
Returns the index of the first occurrence of the specified substring. Case insensitively depends on the value of the specified flag
| substring | - desired substring |
| value | - YES for case insensitive comparison operations, otherwise NO |
| - (id) initExpandedDigital: | (NSString *) | str | |
| length: | (SCUInteger) | length | |
Initializes the string padded on the left of the zero characters to the specified length.
| str | - source string |
| length | - required string length |
| - (id) initExpandedLeft: | (NSString *) | str | |
| length: | (SCUInteger) | length | |
Initializes the string padded on the left of the spaces to the specified length.
| str | - source string |
| length | - required string length |
| - (id) initExpandedLeft: | (NSString *) | str | |
| length: | (SCUInteger) | length | |
| character: | (unichar) | chr | |
Initializes the string padded on the left of the specified characters to the specified length.
| str | - source string |
| length | - required string length |
| chr | - padding character |
| - (id) initExpandedRight: | (NSString *) | str | |
| length: | (SCUInteger) | length | |
Initializes the string padded on the right of the spaces to the specified length.
| str | - source string |
| length | - required string length |
| - (id) initExpandedRight: | (NSString *) | str | |
| length: | (SCUInteger) | length | |
| character: | (unichar) | chr | |
Initializes the string padded on the right of the specified characters to the specified length.
| str | - source string |
| length | - required string length |
| chr | - padding character |
| - (NSString *) initWithBinaryInteger: | (SCULong) | integer |
Initializes a string as a text representation of the binary integer value without digits separators.
| integer | - source integer value |
| - (NSString *) initWithBinaryInteger: | (SCULong) | integer | |
| capacity: | (SCCapacity) | capacity | |
Initializes a string as a text representation of the binary integer value with the specified capacity and without digits separators.
| integer | - source integer value |
| capacity | - integer capacity |
| - (NSString *) initWithBinaryInteger: | (SCULong) | integer | |
| capacity: | (SCCapacity) | capacity | |
| separators: | (BOOL) | separators | |
Initializes a string as a text representation of the binary integer value with the specified capacity and flag of adding the digits separators.
| integer | - source integer value |
| capacity | - integer capacity |
| separators | - YES for insert digits groups separators, NO for no separators |
| - (NSString *) initWithBinaryInteger: | (SCULong) | integer | |
| separators: | (BOOL) | separators | |
Initializes a string as a text representation of the binary integer value with the specified flag of using the digits separators.
| integer | - source integer value |
| separators | - YES for insert digits groups separators, NO for no separators |
| - (id) initWithBoolean: | (BOOL) | value |
Initializes the string as a text representation of the boolean value.
| value | - source boolean value |
| - (id) initWithContentsOfSerializedFile: | (NSString *) | path |
Initializes the string using the contens of serialized file with the specified path.
| path | - source serialized file path |
| - (id) initWithDataDictionary: | (NSDictionary *) | dictionary |
Initializes the string using the specified dictionary.
| dictionary | - source dictionary |
| - (id) initWithDataDictionaryFromFile: | (NSString *) | path |
Initializes the string using the dictionary from the specified file.
| path | - source dictionary file path |
| - (NSString *) initWithDecimalInteger: | (SCULong) | integer |
Initializes a string as the text representation of the decimal integer value without the flag of the digits separators.
| integer | - source integer value |
| - (NSString *) initWithDecimalInteger: | (SCULong) | integer | |
| separator: | (NSString *) | separator | |
Initializes a string as the text representation of the decimal integer value with the specified digits separator.
| integer | - source integer value |
| separator | - digits separator |
| - (NSString *) initWithDecimalInteger: | (SCULong) | integer | |
| separators: | (BOOL) | separators | |
Initializes a string as the text representation of the decimal integer value with the flag of using the digits separators.
| integer | - source integer value |
| separators | - YES for insert digits groups separators, NO for no separators |
| - (id) initWithDouble: | (SCDouble) | dbl |
Initializes a string as a text representation of the double float value.
| dbl | - source double value |
| - (id) initWithFileStream: | (NSString *) | path |
Initializes the string from the stream file with the specified path.
| path | - stream file path |
| SCStreamException | - stream operation error detected |
| - (NSString *) initWithHexadecimalInteger: | (SCULong) | integer |
Initializes the string as a text representation of the hexadecimal integer value without digits separators.
| integer | - source integer |
| - (NSString *) initWithHexadecimalInteger: | (SCULong) | integer | |
| capacity: | (SCCapacity) | capacity | |
Initializes the string as a text representation of the hexadecimal integer value with the specified capacity and without a digits separators.
| integer | - source integer |
| capacity | - integer capacity |
| - (NSString *) initWithHexadecimalInteger: | (SCULong) | integer | |
| capacity: | (SCCapacity) | capacity | |
| separators: | (BOOL) | separators | |
Initializes the string as a text representation of the hexadecimal integer value with the specified capacity and flag of using the digits separators.
| integer | - source integer |
| capacity | - integer capacity |
| separators | - YES for insert digits groups separators, NO for no separators |
| - (NSString *) initWithHexadecimalInteger: | (SCULong) | integer | |
| capacity: | (SCCapacity) | capacity | |
| uppercase: | (BOOL) | up | |
Initializes the string as a text representation of the hexadecimal integer value with the specified capacity, digits case and without digits separators.
| integer | - source integer |
| capacity | - integer capacity |
| up | - YES for uppercase hexadecimal digits, NO for lowercase digits |
| - (NSString *) initWithHexadecimalInteger: | (SCULong) | integer | |
| capacity: | (SCCapacity) | capacity | |
| uppercase: | (BOOL) | up | |
| separators: | (BOOL) | separators | |
Initializes the string as a text representation of the hexadecimal integer value with the specified capacity, digits case flag and flag of using the digits separators.
| integer | - source integer |
| capacity | - integer capacity |
| up | - YES for uppercase hexadecimal digits, NO for lowercase digits |
| separators | - YES for insert digits groups separators, NO for no separators |
| - (NSString *) initWithHexadecimalInteger: | (SCULong) | integer | |
| separators: | (BOOL) | separators | |
Initializes the string as a text representation of the hexadecimal integer value with the specified flag of using the digits separators.
| integer | - source integer |
| separators | - YES for insert digits groups separators, NO for no separators |
| - (NSString *) initWithHexadecimalInteger: | (SCULong) | integer | |
| uppercase: | (BOOL) | up | |
Initializes the string as a text representation of the hexadecimal integer value with the specified digits case and without using the digits separators.
| integer | - source integer |
| up | - YES for uppercase hexadecimal digits, NO for lowercase digits |
| - (NSString *) initWithHexadecimalInteger: | (SCULong) | integer | |
| uppercase: | (BOOL) | up | |
| separators: | (BOOL) | separators | |
Initializes the string as a text representation of the hexadecimal integer value with the specified digits case and flag of using the digits separators.
| integer | - source integer |
| up | - YES for uppercase hexadecimal digits, NO for lowercase digits |
| separators | - YES for insert digits groups separators, NO for no separators |
| - (id) initWithID: | (id) | object |
Initializes the string using the specified class instance description.
| object | - source class instance |
| - (NSString *) initWithInteger: | (SCULong) | integer | |
| base: | (SCIntegerBase) | base | |
Initializes a string as a text representation of integer value with the specified base without using the digits separators.
| integer | - source integer |
| base | - integer base |
| - (NSString *) initWithInteger: | (SCULong) | integer | |
| base: | (SCIntegerBase) | base | |
| capacity: | (SCCapacity) | capacity | |
Initializes a string as a text representation of integer value with the specified base, capacity and without the digits separators.
| integer | - source integer |
| base | - integer base |
| capacity | - integer capacity |
| - (NSString *) initWithInteger: | (SCULong) | integer | |
| base: | (SCIntegerBase) | base | |
| capacity: | (SCCapacity) | capacity | |
| separators: | (BOOL) | separators | |
Initializes a string as a text representation of integer value with the specified base, capacity and flag of using the digits separators.
| integer | - source integer |
| base | - integer base |
| capacity | - integer capacity |
| separators | - YES for insert digits groups separators, NO for no separators |
| - (NSString *) initWithInteger: | (SCULong) | integer | |
| base: | (SCIntegerBase) | base | |
| capacity: | (SCCapacity) | capacity | |
| uppercase: | (BOOL) | uppercase | |
Initializes a string as a text representaion of integer value with using the specified base, capacity, digits case and without digits separators.
| integer | - source integer |
| base | - integer base |
| capacity | - integer capacity |
| uppercase | - YES for uppercase hexadecimal digits, NO for lowercase digits |
| - (NSString *) initWithInteger: | (SCULong) | integer | |
| base: | (SCIntegerBase) | base | |
| capacity: | (SCCapacity) | capacity | |
| uppercase: | (BOOL) | uppercase | |
| separators: | (BOOL) | separators | |
Initializes a string as a text representation of integer value with using the specified base, capacity, digits case and flag of using the digits separator.
| integer | - source integer |
| base | - integer base |
| capacity | - integer capacity |
| uppercase | - YES for uppercase hexadecimal digits, NO for lowercase digits |
| separators | - YES for insert digits groups separators, NO for no separators |
| - (NSString *) initWithInteger: | (SCULong) | integer | |
| base: | (SCIntegerBase) | base | |
| separators: | (BOOL) | separators | |
Initializes a string as a text representation of integer value with the specified base and flag of using the digits separators.
| integer | - source integer |
| base | - integer base |
| separators | - YES for insert digits groups separators, NO for no separators |
| - (NSString *) initWithInteger: | (SCULong) | integer | |
| base: | (SCIntegerBase) | base | |
| uppercase: | (BOOL) | uppercase | |
Initializes a string as a text representation of integer value with the specified base, digits case and without using the digits separators.
| integer | - source integer |
| base | - integer base |
| uppercase | - YES for uppercase hexadecimal digits, NO for lowercase digits |
| - (NSString *) initWithInteger: | (SCULong) | integer | |
| base: | (SCIntegerBase) | base | |
| uppercase: | (BOOL) | uppercase | |
| separators: | (BOOL) | separators | |
Initializes a string as a text representation of integer value with the specified base, digits case and flag of using the digits separators.
| integer | - source integer |
| base | - integer base |
| uppercase | - YES for uppercase hexadecimal digits, NO for lowercase digits |
| separators | - YES for insert digits groups separators, NO for no separators |
| - (id) initWithLength: | (SCUInteger) | length |
Initializes the string using the specified number of space characters.
| length | - required string length |
| - (id) initWithLength: | (SCUInteger) | length | |
| character: | (unichar) | chr | |
Initializes the string using the specified number of characters and character to fill the string.
| length | - required string length |
| chr | - character to fill the string |
| - (NSString *) initWithOctalInteger: | (SCULong) | integer |
Initializes a string as a text representation of the octal integer value without digits separators.
| integer | - source integer value |
| - (NSString *) initWithOctalInteger: | (SCULong) | integer | |
| separators: | (BOOL) | separators | |
Initializes a string as a text representation of the octal integer value and flag of using digits separators.
| integer | - source integer value |
| separators | - YES for insert digits groups separators, NO for no separators |
| - (id) initWithPointer: | (void *) | pointer |
Initializes the string as a text representation of the specified pointer.
| pointer | - source pointer |
| - (id) initWithReversedString: | (NSString *) | str |
Initializes the string by reversing the specified source string.
| str | - source string |
| - (id) initWithSignedInteger: | (SCInteger) | integer |
Initializes a string as the text representation of the decimal signed integer value.
| integer | - source integer value |
| - (id) initWithSignedLong: | (SCLong) | longint |
Initializes a string as the text representation of the decimal signed 64-bit integer value.
| longint | - source integer value |
| - (id) initWithSignedShort: | (short) | integer |
Initializes a string as the text representation of the decimal signed short integer value.
| integer | - source integer value |
| - (id) initWithStream: | (SCStream *) | stream |
Initializes the string from the specified stream.
| stream | - stream for reading string |
| SCStreamException | - stream operation error detected |
| SCSystemException | - system error detected |
| - (id) initWithString: | (NSString *) | str | |
| groups: | (SCUInteger) | group | |
Initializes the string by deviding the source string into groups of the specified character number the with space delimiter character.
| str | - source string |
| group | - number of characters in each group |
| - (id) initWithString: | (NSString *) | str | |
| groups: | (SCUInteger) | group | |
| delimiter: | (unichar) | chr | |
Initializes the string by deviding the source string into groups of the specified character number with the specified delimiter character.
| str | - source string |
| group | - number of characters in each group |
| chr | - delimiter character |
| - (id) initWithString: | (NSString *) | str | |
| groupsDelimiter: | (unichar) | chr | |
Initializes the string by deviding the source string into groups of the three characters with the specified delimiter character.
| str | - source string |
| chr | - delimiter character |
| - (NSString *) initWithString: | (NSString *) | source | |
| separators: | (NSString *) | separator | |
| leftOver: | (SCUInteger) | over | |
Initializes a string by adding into the source string the specified separators after the specified number of characters from left to right.
| source | - source string |
| separator | - added separator |
| over | - number of characters in each group |
| - (NSString *) initWithString: | (NSString *) | source | |
| separators: | (NSString *) | separator | |
| rightOver: | (SCUInteger) | over | |
Initializes a string by adding into the source string the specified separators after the specified number of characters from right to left.
| source | - source string |
| separator | - added separator |
| over | - number of characters in each group |
| - (NSString *) initWithString: | (NSString *) | source | |
| spacesFromLeftOver: | (SCUInteger) | over | |
Initializes a string by adding into the source string the space separators after the specified number of characters from left to right.
| source | - source string |
| over | - number of characters in each group |
| - (NSString *) initWithString: | (NSString *) | source | |
| spacesFromRightOver: | (SCUInteger) | over | |
Initializes a string by adding into the source string the space separators after the specified number of characters from right to left.
| source | - source string |
| over | - number of characters in each group |
| - (id) initWithStringGroups: | (NSString *) | str |
Initializes the string by deviding the source string into groups of the three characters with the space delimiter character.
| str | - source string |
| - (id) initWithUnichar: | (unichar) | chr |
Initializes the string using the specified character.
| chr | - source character |
| - (id) initWithUnsignedShort: | (unsigned short) | integer |
Initializes a string as the text representation of the decimal unsigned short integer value.
| integer | - source integer value |
| - (NSString *) insertSeparators: | (NSString *) | separator | |
| leftOver: | (SCUInteger) | over | |
Returns a string with the added separators after the specified number of characters from left to right.
| separator | - added separator |
| over | - number of characters in each group |
| - (NSString *) insertSeparators: | (NSString *) | separator | |
| rightOver: | (SCUInteger) | over | |
Returns a string with the added separators after the specified number of characters from right to left.
| separator | - added separator |
| over | - number of characters in each group |
| - (NSString *) insertSpacesFromLeftOver: | (SCUInteger) | over |
Returns a string with the added spaces as separator after the specified number of characters from left to right.
| over | - number of characters in each group |
| - (NSString *) insertSpacesFromRightOver: | (SCUInteger) | over |
Returns a string with the added spaces as separators after the specified number of characters from right to left.
| over | - number of characters in each group |
| - (SCULong) integer |
Returns an integer value of the receiver's text representation of the decimal integer value.
| - (SCULong) integerWithBase: | (SCIntegerBase) | base |
Converts the receiver's string into integer value with the specified base.
| base | - integer base |
| - (BOOL) isBinaryString |
Checks whether the receiver's string is a binary text representation of integer value.
| - (BOOL) isDecimalString |
Checks whether the receiver's string is a text representation of the decimal integer value.
| - (BOOL) isEmpty |
Checks for the receiver's string of at least one character other than space and tab.
| - (BOOL) isEqualToStrings: | (NSString *) | string | |
| , | ... | ||
Returns a boolean value that indicates whether the receiver is equal to any string from the specified nil terminated list.
| string | - first string from list |
| ... | - other strings |
| - (BOOL) isHexadecimalString |
Checks whether the receiver's string is a text representation of hexadecimal integer value.
| - (BOOL) isIntegerString |
Checks whether the receiver's string is a text representation of the decimal integer value.
| - (BOOL) isIntegerStringWithBase: | (SCIntegerBase) | base |
Checks whether the receiver's string converted to integer value with the specified base.
| base | - integer base (2, 8, 10 or 16) |
| - (BOOL) isOctalString |
Checks whether the receiver's string is a text representation of the octal integer value.
| - (NSString *) leftPartOfString: | (SCUInteger) | characters |
Returns a string with the specified count of receiver's first characters.
| characters | - required characters count |
| - (NSString *) ltrim |
Returns a string without a leading spaces and tabs.
| - (NSString *) normalizedString |
Returns a normalized receiver's string.
| - (SCULong) octalInteger |
Returns integer value of the receiver's octal text representation.
| - (BOOL) rangeIsCorrect: | (NSRange) | range |
Checks a characters range.
| range | - verifiable range |
| - (NSString *) reverse |
Returns a reversed string.
| - (NSString *) rightPartOfString: | (SCUInteger) | characters |
Returns a string with the specified count of receiver's last characters.
| characters | - required characters count |
| - (NSString *) rtrim |
Returns a string without a trailing spaces and tabs.
| - (NSString *) skipLeftPart: | (SCUInteger) | characters |
Returns a string without the specified count of receiver's first characters.
| characters | - deleted characters count |
| - (NSString *) skipRightPart: | (SCUInteger) | characters |
Returns a string without the specified count of receiver's last characters.
| characters | - deleted characters count |
| + (NSString *) stringExpandedDigital: | (NSString *) | str | |
| length: | (SCUInteger) | length | |
Returns a string created by padding the specified string on the left of the zero characters to the specified length.
| str | - source string |
| length | - required string length |
| + (NSString *) stringExpandedLeft: | (NSString *) | str | |
| length: | (SCUInteger) | length | |
Returns a string created by padding the specified string on the left of the spaces to the specified length.
| str | - source string |
| length | - required string length |
| + (NSString *) stringExpandedLeft: | (NSString *) | str | |
| length: | (SCUInteger) | length | |
| character: | (unichar) | chr | |
Returns a string created by padding the specified string on the left of the specified characters to the specified length.
| str | - source string |
| length | - required string length |
| chr | - padding character |
| + (NSString *) stringExpandedRight: | (NSString *) | str | |
| length: | (SCUInteger) | length | |
Returns a string created by padding the specified string on the right of the spaces to the specified length.
| str | - source string |
| length | - required string length |
| + (NSString *) stringExpandedRight: | (NSString *) | str | |
| length: | (SCUInteger) | length | |
| character: | (unichar) | chr | |
Returns a string created by padding the specified string on the right of the specified characters to the specified length.
| str | - source string |
| length | - required string length |
| chr | - padding character |
| + (NSString *) stringWithBinaryInteger: | (SCULong) | integer |
Returns a string created as a text representation of the binary integer value without digits separators.
| integer | - source integer value |
| + (NSString *) stringWithBinaryInteger: | (SCULong) | integer | |
| capacity: | (SCCapacity) | capacity | |
Returns a string created as a text representation of the binary integer value with the specified capacity and without digits separators.
| integer | - source integer value |
| capacity | - integer capacity |
| + (NSString *) stringWithBinaryInteger: | (SCULong) | integer | |
| capacity: | (SCCapacity) | capacity | |
| separators: | (BOOL) | separators | |
Returns a string created as a text representation of the binary integer value with the specified capacity and flag of using digits separators.
| integer | - source integer value |
| capacity | - integer capacity |
| separators | - YES for insert digits groups separators, NO for no separators |
| + (NSString *) stringWithBinaryInteger: | (SCULong) | integer | |
| separators: | (BOOL) | separators | |
Returns a string created as a text representation of the binary integer value with the flag of using digits separators.
| integer | - source integer value |
| separators | - YES for insert digits groups separators, NO for no separators |
| + (NSString *) stringWithBoolean: | (BOOL) | value |
Returns a string created as a text representation of the boolean value.
| value | - source boolean value |
| + (NSString *) stringWithCoder: | (NSCoder *) | coder |
Returns a string created by using the specified coder.
| coder | - source coder |
| + (NSString *) stringWithContentsOfSerializedFile: | (NSString *) | path |
Returns a string created by using the contents of serialized file with the specified path.
| path | - source serialized file path |
| + (NSString *) stringWithDataDictionary: | (NSDictionary *) | dictionary |
Returns a string created by using the specified dictionary.
| dictionary | - source dictionary |
| + (NSString *) stringWithDataDictionaryFromFile: | (NSString *) | path |
Returns a string created by using the dictionary from the specified file.
| path | - source dictionary file path |
| + (NSString *) stringWithDecimalInteger: | (SCULong) | integer |
Returns a string created as the text representation of the decimal integer value without the digits separators.
| integer | - source integer value |
| + (NSString *) stringWithDecimalInteger: | (SCULong) | integer | |
| separator: | (NSString *) | separator | |
Returns a string created as the text representation of the decimal integer value with the specified digits separators.
| integer | - source integer value |
| separator | - digits separators |
| + (NSString *) stringWithDecimalInteger: | (SCULong) | integer | |
| separators: | (BOOL) | separators | |
Returns a string created as the text representation of the decimal integer value with the flag of using the digits separators.
| integer | - source integer value |
| separators | - YES for insert digits groups separators, NO for no separators |
| - (NSString *) stringWithDeletedSubstring: | (NSString *) | str |
Returns a receiver's string without the specified substring.
| str | - deleted substring |
| - (NSString *) stringWithDeletedSubstring: | (NSString *) | str | |
| caseInsensitive: | (BOOL) | value | |
Returns a receiver's string without the specified substring. Case insensitively depends on the value of the specified flag.
| str | - deleted substring |
| value | - YES for case insensitive comparison operations, otherwise NO |
| - (NSString *) stringWithDeletedSubstringFromIndex: | (SCUInteger) | index |
Returns a receiver's string without characters after the specified index.
| index | - first deleted character index |
| - (NSString *) stringWithDeletedSubstringToIndex: | (SCUInteger) | index |
Returns a receiver's string without characters before the specified index.
| index | - last deleted character index |
| - (NSString *) stringWithDeletedSubstringToRange: | (NSRange) | range |
Returns a receiver's string without a characters before and in the specified range.
| range | - characters range |
| - (NSString *) stringWithDeletedSubstringWithRange: | (NSRange) | range |
Returns a receiver's string without characters in the specified range.
| range | - deleted characters range |
| + (NSString *) stringWithDouble: | (SCDouble) | dbl |
Returns a string created as a text representation of the double floar value.
| dbl | - source double value |
| + (NSString *) stringWithFileStream: | (NSString *) | path |
Returns a string created from the stream file with the specified path.
| path | - stream file path |
| SCStreamException | - stream operation error detected |
| - (NSString *) stringWithGroups |
Devides the receiver's string into groups of the three characters with the space delimiter character.
| - (NSString *) stringWithGroups: | (SCUInteger) | group |
Devides the receiver's string into groups of the specified character number with the space delimiter character.
| group | - number of characters in each group |
| - (NSString *) stringWithGroups: | (SCUInteger) | group | |
| delimiter: | (unichar) | chr | |
Devides the receiver's string into groups of the specified characters number with the specified delimiter.
| group | - number of characters in each group |
| chr | - delimiter character |
| - (NSString *) stringWithGroupsDelimiter: | (unichar) | chr |
Devides the receiver's string into groups of three characters with the specified delimiter.
| chr | - delimiter character |
| + (NSString *) stringWithHexadecimalInteger: | (SCULong) | integer |
Returs a string created as a text representation of the hexadecimal integer value.
| integer | - source integer |
| + (NSString *) stringWithHexadecimalInteger: | (SCULong) | integer | |
| capacity: | (SCCapacity) | capacity | |
Returns a string created as a text representation of the hexadecimal integer value with the specified capacity and without using the sigits separators.
| integer | - source integer |
| capacity | - integer capacity |
| + (NSString *) stringWithHexadecimalInteger: | (SCULong) | integer | |
| capacity: | (SCCapacity) | capacity | |
| separators: | (BOOL) | separators | |
Returns a string created as a text representation of the hexadecimal integer value with the specified capacity and flag of using the digits separators.
| integer | - source integer |
| capacity | - integer capacity |
| separators | - YES for insert digits groups separators, NO for no separators |
| + (NSString *) stringWithHexadecimalInteger: | (SCULong) | integer | |
| capacity: | (SCCapacity) | capacity | |
| uppercase: | (BOOL) | up | |
Returns a string created as a text representation of the hexadecimal integer value with the specified capacity, digits case and without using the digits separators.
| integer | - source integer |
| capacity | - integer capacity |
| up | - YES for uppercase hexadecimal digits, NO for lowercase digits |
| + (NSString *) stringWithHexadecimalInteger: | (SCULong) | integer | |
| capacity: | (SCCapacity) | capacity | |
| uppercase: | (BOOL) | up | |
| separators: | (BOOL) | separators | |
Returns a string created as a text representation of the hexadecimal integer value with the specified capacity, digits case and flag of using the digits separators.
| integer | - source integer |
| capacity | - integer capacity |
| up | - YES for uppercase hexadecimal digits, NO for lowercase digits |
| separators | - YES for insert digits groups separators, NO for no separators |
| + (NSString *) stringWithHexadecimalInteger: | (SCULong) | integer | |
| separators: | (BOOL) | separators | |
Returns a string created as a text representation of the hexadecimal integer value with the specified flag of using digits separators.
| integer | - source integer |
| separators | - YES for insert digits groups separators, NO for no separators |
| + (NSString *) stringWithHexadecimalInteger: | (SCULong) | integer | |
| uppercase: | (BOOL) | up | |
Returns a string created as a text representation of the hexadecimal integer value with the specified digits case and without the digits separators.
| integer | - source integer |
| up | - YES for uppercase hexadecimal digits, NO for lowercase digits |
| + (NSString *) stringWithHexadecimalInteger: | (SCULong) | integer | |
| uppercase: | (BOOL) | up | |
| separators: | (BOOL) | separators | |
Returns a string created as a text representation of the hexadecimal integer value with the specified digits case and flag of using the digits separators.
| integer | - source integer |
| up | - YES for uppercase hexadecimal digits, NO for lowercase digits |
| separators | - YES for insert digits groups separators, NO for no separators |
| + (NSString *) stringWithID: | (id) | object |
Returns a string created by using class instance description.
| object | - class instance |
| - (NSString *) stringWithInsertedString: | (NSString *) | str |
Returns a string with added before the receiver's string the specified substring.
| str | - added substring |
| - (NSString *) stringWithInsertedString: | (NSString *) | str | |
| index: | (SCUInteger) | index | |
Returns a string with inserted substring at the specified index.
| str | - inserted string |
| index | - inserting index |
| + (NSString *) stringWithInteger: | (SCULong) | integer | |
| base: | (SCIntegerBase) | base | |
Returns a string created as text representation of the integer value with the specified base and without digits separators.
| integer | - source integer |
| base | - integer base |
| + (NSString *) stringWithInteger: | (SCULong) | integer | |
| base: | (SCIntegerBase) | base | |
| capacity: | (SCCapacity) | capacity | |
Returns a string created as text representation of the integer value with the specified base, capacity and without digits separators.
| integer | - source integer |
| base | - integer base |
| capacity | - integer capacity |
| + (NSString *) stringWithInteger: | (SCULong) | integer | |
| base: | (SCIntegerBase) | base | |
| capacity: | (SCCapacity) | capacity | |
| separators: | (BOOL) | separators | |
Returns a string created as text representation of the integer value with the specified base, capacity and flag of using the digits separators.
| integer | - source integer |
| base | - integer base |
| capacity | - integer capacity |
| separators | - YES for insert digits groups separators, NO for no separators |
| + (NSString *) stringWithInteger: | (SCULong) | integer | |
| base: | (SCIntegerBase) | base | |
| capacity: | (SCCapacity) | capacity | |
| uppercase: | (BOOL) | uppercase | |
Returns a string created as text representation of the integer value with the specified base, capacity, digits case and without using the digits separators.
| integer | - source integer |
| base | - integer base |
| capacity | - integer capacity |
| uppercase | - YES for uppercase hexadecimal digits, NO for lowercase digits |
| + (NSString *) stringWithInteger: | (SCULong) | integer | |
| base: | (SCIntegerBase) | base | |
| capacity: | (SCCapacity) | capacity | |
| uppercase: | (BOOL) | uppercase | |
| separators: | (BOOL) | separators | |
Returns a string created as text representation of the integer value with the specified base, capacity, digits case and flag of using the digits separators.
| integer | - source integer |
| base | - integer base |
| capacity | - integer capacity |
| uppercase | - YES for uppercase hexadecimal digits, NO for lowercase digits |
| separators | - YES for insert digits groups separators, NO for no separators |
| + (NSString *) stringWithInteger: | (SCULong) | integer | |
| base: | (SCIntegerBase) | base | |
| separators: | (BOOL) | separators | |
Returns a string created as text representation of the integer value with the specified base and flag of using the digits separators.
| integer | - source integer |
| base | - integer base |
| separators | - YES for insert digits groups separators, NO for no separators |
| + (NSString *) stringWithInteger: | (SCULong) | integer | |
| base: | (SCIntegerBase) | base | |
| uppercase: | (BOOL) | uppercase | |
Returns a string created as text representation of the integer value with the specified base, digits case and without digits separators.
| integer | - source integer |
| base | - integer base |
| uppercase | - YES for uppercase hexadecimal digits, NO for lowercase digits |
| + (NSString *) stringWithInteger: | (SCULong) | integer | |
| base: | (SCIntegerBase) | base | |
| uppercase: | (BOOL) | uppercase | |
| separators: | (BOOL) | separators | |
Returns a string created as text representation of the integer value with the specified base, digits case and flag of using the digits separators.
| integer | - source integer |
| base | - integer base |
| uppercase | - YES for uppercase hexadecimal digits, NO for lowercase digits |
| separators | - YES for insert digits groups separators, NO for no separators |
| + (NSString *) stringWithLength: | (SCUInteger) | length |
Returns a string created by using the specified number of space characters.
| length | - required string length |
| + (NSString *) stringWithLength: | (SCUInteger) | length | |
| character: | (unichar) | chr | |
Returns a string created by using the specified number of characters and character to fill the string.
| length | - required string length |
| chr | - character to fill the string |
| + (NSString *) stringWithOctalInteger: | (SCULong) | integer |
Returns a string created as a text representation of the octal integer value without digits separators.
| integer | - source integer value |
| + (NSString *) stringWithOctalInteger: | (SCULong) | integer | |
| separators: | (BOOL) | separators | |
Returns a string created as a text representation of the octal integer value with flag of using digits separators.
| integer | - source integer value |
| separators | - YES for insert digits groups separators, NO for no separators |
| + (NSString *) stringWithPointer: | (void *) | pointer |
Returns a string created as text representation of the specified pointer.
| pointer | - source pointer |
| - (NSString *) stringWithReplacedSubstring: | (NSString *) | substring | |
| string: | (NSString *) | str | |
Returns a string with replaced the specified substring by another substring.
| substring | - replaced substring |
| str | - inserted substring |
| - (NSString *) stringWithReplacedSubstring: | (NSString *) | substring | |
| string: | (NSString *) | str | |
| caseInsensitive: | (BOOL) | value | |
Returns a string with replaced the specified substring by another substring. Case insensitively depends on the value of the specified flag.
| substring | - replaced substring |
| str | - inserted substring |
| value | - YES for case insensitive comparison operations, otherwise NO |
| - (NSString *) stringWithReplacedSubstringFromIndex: | (SCUInteger) | index | |
| string: | (NSString *) | str | |
Returns a string with replaced characters after the specified index by the specified substring.
| index | - index of first replaced character |
| str | - inserted substring |
| - (NSString *) stringWithReplacedSubstringToIndex: | (SCUInteger) | index | |
| string: | (NSString *) | str | |
Returns a string with replaced characters before the specified index by the specified substring.
| index | - index of last replaced character |
| str | - inserted substring |
| - (NSString *) stringWithReplacedSubstringWithRange: | (NSRange) | range | |
| string: | (NSString *) | str | |
Returns a string with replaced characters range by the specified substring.
| range | - replaced characters range |
| str | - inserted string |
| + (NSString *) stringWithReversedString: | (NSString *) | str |
Returns a string created by reversing the source string.
| str | - source string |
| + (NSString *) stringWithSignedInteger: | (SCInteger) | integer |
Returns a string created as the text representation of the decimal signed integer value.
| integer | - source integer value |
| + (NSString *) stringWithSignedLong: | (SCLong) | longint |
Returns a string created as the text representation of the decimal signed 64-bit integer value.
| longint | - source integer value |
| + (NSString *) stringWithSignedShort: | (short) | integer |
Returns a string created as the text representation of the decimal signed short integer value.
| integer | - source integer value |
| + (NSString *) stringWithStream: | (SCStream *) | stream |
Returns a string created from the specified stream.
| stream | - stream for reading string |
| SCStreamException | - stream operation error detected |
| SCSystemException | - system error detected |
| + (NSString *) stringWithString: | (NSString *) | str | |
| groups: | (SCUInteger) | group | |
Returns a string created by deviding the source string into groups of the specified character number and the space delimiter character.
| str | - source string |
| group | - number of characters in each group |
| + (NSString *) stringWithString: | (NSString *) | str | |
| groups: | (SCUInteger) | group | |
| delimiter: | (unichar) | chr | |
Returns a string created by deviding the source string into groups of the specified character number with the specified delimiter character.
| str | - source string |
| group | - number of characters in each group |
| chr | - delimiter character |
| + (NSString *) stringWithString: | (NSString *) | str | |
| groupsDelimiter: | (unichar) | chr | |
Returns a string created by deviding the source string into groups of the three characters with the specified delimiter character.
| str | - source string |
| chr | - delimiter character |
| + (NSString *) stringWithString: | (NSString *) | source | |
| separators: | (NSString *) | separator | |
| leftOver: | (SCUInteger) | over | |
Returns a string created by adding into the source string the specified separators after the specified number of characters from left to right.
| source | - source string |
| separator | - added separator |
| over | - number of characters in each group |
| + (NSString *) stringWithString: | (NSString *) | source | |
| separators: | (NSString *) | separator | |
| rightOver: | (SCUInteger) | over | |
Returns a string created by adding into the source string the specified separators after the specified number of characters from right to left.
| source | - source string |
| separator | - added separator |
| over | - number of characters in each group |
| + (NSString *) stringWithString: | (NSString *) | source | |
| spacesFromLeftOver: | (SCUInteger) | over | |
Returns a string created by adding into the source string the space separators after the specified number of characters from left to right.
| source | - source string |
| over | - number of characters in each group |
| + (NSString *) stringWithString: | (NSString *) | source | |
| spacesFromRightOver: | (SCUInteger) | over | |
Returns a string created by adding into the source string the space separators after the specified number of characters from right to left.
| source | - source string |
| over | - number of characters in each group |
| + (NSString *) stringWithStringGroups: | (NSString *) | str |
Returns a string created by deviding the source string into groups of the three characters with the space delimiter character.
| str | - source string |
| + (NSString *) stringWithUnichar: | (unichar) | chr |
Returns a string created by using the specified character.
| chr | - source character |
| + (NSString *) stringWithUnsignedShort: | (unsigned short) | integer |
Returns a string created as the text representation of the decimal unsigned short integer value.
| integer | - source integer value |
| - (SCInteger) substringCount: | (NSString *) | str |
Returns a substring occurrences count.
| str | - desired substring |
| - (SCInteger) substringCount: | (NSString *) | str | |
| caseInsensitive: | (BOOL) | value | |
Returns a substring occurrences count. Case insensitively depends on the value of the specified flag.
| str | - desired substring |
| value | - YES for the case insensitive comparison operations, otherwise NO |
| - (BOOL) substringExists: | (NSString *) | str |
Checks occurrence in the receiver's string the specified substring.
| str | - desired substring |
| - (BOOL) substringExists: | (NSString *) | str | |
| caseInsensitive: | (BOOL) | value | |
Checks occurrence in the receiver's string the specified substring. Case insensitively depends on the value of the specified flag.
| str | - desired substring |
| value | - YES for case insensitive comparison operations, otherwise NO |
| - (NSString *) trim |
Returns a string without a leading and trailing spaces and tabs.
| - (NSString *) upperFirstLetter |
Returns a receiver's string with capital first character.
| - (NSString *) word: | (SCUInteger) | wordIndex |
Returns a word of the receiver's string at the specified index.
| wordIndex | - required word index |
| - (SCUInteger) wordsCount |
Returns a words count in the receiver's string.
| - (BOOL) writeContentsToSerializedFile: | (NSString *) | path |
Writes receiver's encoded string into the serialized file with the specified path.
| path | - path at which to write the file |
| - (void) writeToDataDictionary: | (NSMutableDictionary *) | dictionary |
Writes the receiver's string into the specified dictionary.
| dictionary | - destination dictionary |
| - (void) writeToDataDictionaryFile: | (NSString *) | path |
Atomically writes the receiver's string into the dictionary file with the specified path.
| path | - path at which to write the file |
| - (void) writeToDataDictionaryFile: | (NSString *) | path | |
| atomically: | (BOOL) | atomically | |
Writes the receiver's string into the dictionary file with the specified path.
| path | - path at which to write the file |
| atomically | - YES for writing data to an auxiliary file, and then the auxiliary file is renamed to path, NO for writing data directly to path |
| - (void) writeToFileStream: | (NSString *) | path |
Saves the receiver's string instance to the created stream file with the specified path.
| path | - stream file path |
| SCStreamException | - stream operation error detected |
| - (void) writeToStream: | (SCStream *) | stream |
Saves the receiver's string to the specified stream.
| stream | - stream for writing receiver's string |
| SCStreamException | - stream operation error detected |
| SCSystemException | - system error detected |
1.7.3