Instance Property

string

Allows the client to specify a single string for searching.

Declaration

@property(readonly, strong) NSString *string;

Discussion

If the client cannot logically or efficiently flatten itself into a single string, then the stringAtIndex:effectiveRange:endsWithSearchBoundary: and stringLength methods should be implemented instead.

See Also

String Searching

- stringAtIndex:effectiveRange:endsWithSearchBoundary:

Returns the found string that is created by conceptually mapping its content to a single string, which is composed of a concatenation of all its substrings.

- stringLength

Returns the full length of the conceptually concatenated string return by the stringAtIndex:effectiveRange:endsWithSearchBoundary: method.