MonobjcMonobjc Documented Class Library
InsertStringAtIndex Method (aString, anIndex)
NamespacesMonobjc.FoundationNSMutableStringInsertStringAtIndex(NSString, NSUInteger)

Inserts into the receiver the characters of a given string at a given location.

Original signature is '- (void)insertString:(NSString *)aString atIndex:(NSUInteger)anIndex'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void InsertStringAtIndex(
	NSString aString,
	NSUInteger anIndex
)
Public Overridable Sub InsertStringAtIndex ( _
	aString As NSString, _
	anIndex As NSUInteger _
)
public:
virtual void InsertStringAtIndex(
	NSString^ aString, 
	NSUInteger anIndex
)
Parameters
aString (NSString)
The string to insert into the receiver. aString must not be nil.
anIndex (NSUInteger)
The location at which aString is inserted. The location must not exceed the bounds of the receiver.
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)