MonobjcMonobjc Documented Class Library
ReplaceCharactersInRangeWithString Method (aRange, aString)
NamespacesMonobjc.FoundationNSMutableStringReplaceCharactersInRangeWithString(NSRange, NSString)

Replaces the characters from aRange with those in aString.

Original signature is '- (void)replaceCharactersInRange:(NSRange)aRange withString:(NSString *)aString'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void ReplaceCharactersInRangeWithString(
	NSRange aRange,
	NSString aString
)
Public Overridable Sub ReplaceCharactersInRangeWithString ( _
	aRange As NSRange, _
	aString As NSString _
)
public:
virtual void ReplaceCharactersInRangeWithString(
	NSRange aRange, 
	NSString^ aString
)
Parameters
aRange (NSRange)
The range of characters to replace. aRange must not exceed the bounds of the receiver.
aString (NSString)
The string with which to replace the characters in aRange. aString must not be nil.
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)