Finds and returns the range in the receiver of the first character from a given character set.
Original signature is '- (NSRange)rangeOfCharacterFromSet:(NSCharacterSet *)aSet'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSRange RangeOfCharacterFromSet( NSCharacterSet aSet )
Public Overridable Function RangeOfCharacterFromSet ( _ aSet As NSCharacterSet _ ) As NSRange
public: virtual NSRange RangeOfCharacterFromSet( NSCharacterSet^ aSet )
Parameters
- aSet (NSCharacterSet)
- A character set. This value must not be nil.
Return Value
The range in the receiver of the first character found from aSet. Returns a range of {NSNotFound, 0} if none of the characters in aSet are found.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)