Re: Is anyone familiar with NSStringrangeOfCharacterFromSet:options
Re: Is anyone familiar with NSStringrangeOfCharacterFromSet:options
- Subject: Re: Is anyone familiar with NSStringrangeOfCharacterFromSet:options
- From: Ken Thomases <email@hidden>
- Date: Wed, 21 Jan 2009 21:37:04 -0600
On Jan 21, 2009, at 8:41 PM, David Yamartino wrote:
To Search Kit, a document is atomic in that it defines the
granularity of a search. Using Search Kit, your application can find
documents—as your application understands them—but cannot locate the
position of a term within a document. If you want to locate matches
for a user's query within a found document, use the MLTE TXNFind
function in Carbon or the NSStringrangeOfCharacterFromSet:options:
method in Cocoa.
I can't find any documentation on this method. If are familiar with
it, I would appreciate any help you could provide.
There's a formatting bug in that document. The method is called
rangeOfCharacterFromSet:options:. It's a method of the NSString
class, which is why that "NSString" is smooshed up in front of it.
Here is the documentation for it:
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html#/
/apple_ref/doc/uid/20000154-rangeOfCharacterFromSet_options_
Cheers,
Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden