MonobjcMonobjc Documented Class Library
SubstringWithRange Method (aRange)
NamespacesMonobjc.FoundationNSStringSubstringWithRange(NSRange)

Returns a string object containing the characters of the receiver that lie within a given range.

Original signature is '- (NSString *)substringWithRange:(NSRange)aRange'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString SubstringWithRange(
	NSRange aRange
)
Public Overridable Function SubstringWithRange ( _
	aRange As NSRange _
) As NSString
public:
virtual NSString^ SubstringWithRange(
	NSRange aRange
)
Parameters
aRange (NSRange)
A range. The range must not exceed the bounds of the receiver.
Return Value
A string object containing the characters of the receiver that lie within aRange.
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)