MonobjcMonobjc Documented Class Library
RangeOfCharacterFromSetOptionsRange Method (aSet, mask, aRange)
NamespacesMonobjc.FoundationNSStringRangeOfCharacterFromSetOptionsRange(NSCharacterSet, NSStringCompareOptions, NSRange)

Finds and returns the range in the receiver of the first character from a given character set found in a given range with given options.

Original signature is '- (NSRange)rangeOfCharacterFromSet:(NSCharacterSet *)aSet options:(NSStringCompareOptions)mask range:(NSRange)aRange'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRange RangeOfCharacterFromSetOptionsRange(
	NSCharacterSet aSet,
	NSStringCompareOptions mask,
	NSRange aRange
Public Overridable Function RangeOfCharacterFromSetOptionsRange ( _
	aSet As NSCharacterSet, _
	mask As NSStringCompareOptions, _
	aRange As NSRange _
) As NSRange
virtual NSRange RangeOfCharacterFromSetOptionsRange(
	NSCharacterSet^ aSet, 
	NSStringCompareOptions mask, 
	NSRange aRange
aSet (NSCharacterSet)
A character set. This value must not be nil.
mask (NSStringCompareOptions)
A mask specifying search options. The following options may be specified by combining them with the C bitwise OR operator: NSCaseInsensitiveSearch, NSLiteralSearch, NSBackwardsSearch. See String Programming Guide for details on these options.
aRange (NSRange)
The range in which to search. aRange must not exceed the bounds of the receiver.
Return Value
The range in the receiver of the first character found from aSet within aRange. 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)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)