MonobjcMonobjc Documented Class Library
SubstringFromIndex Method (anIndex)
NamespacesMonobjc.FoundationNSStringSubstringFromIndex(NSUInteger)

Returns a new string containing the characters of the receiver from the one at a given index to the end.

Original signature is '- (NSString *)substringFromIndex:(NSUInteger)anIndex'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString SubstringFromIndex(
	NSUInteger anIndex
)
Public Overridable Function SubstringFromIndex ( _
	anIndex As NSUInteger _
) As NSString
public:
virtual NSString^ SubstringFromIndex(
	NSUInteger anIndex
)
Parameters
anIndex (NSUInteger)
An index. The value must lie within the bounds of the receiver, or be equal to the length of the receiver.
Return Value
A new string containing the characters of the receiver from the one at anIndex to the end. If anIndex is equal to the length of the string, returns an empty string.
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)