MonobjcMonobjc Documented Class Library
RangeOfCharacterFromSetOptions Method (aSet, mask)
NamespacesMonobjc.FoundationNSStringRangeOfCharacterFromSetOptions(NSCharacterSet, NSStringCompareOptions)

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

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRange RangeOfCharacterFromSetOptions(
	NSCharacterSet aSet,
	NSStringCompareOptions mask
Public Overridable Function RangeOfCharacterFromSetOptions ( _
	aSet As NSCharacterSet, _
	mask As NSStringCompareOptions _
) As NSRange
virtual NSRange RangeOfCharacterFromSetOptions(
	NSCharacterSet^ aSet, 
	NSStringCompareOptions mask
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.
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)

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