MESCIUS.ActiveReports.Core.Data.VBFunctionLib Assembly / GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace / Strings Class / Mid Method / Mid(String,Int32) Method
Required. String expression from which characters are returned.
Required. Integer expression. Starting position of the characters to return. If start is greater than the number of characters in str, the Mid function returns a zero-length string (""). start is one based.

In This Topic
Mid(String,Int32) Method
In This Topic
Returns a string containing a specified number of characters from a string.
Syntax
'Declaration
 
Public Overloads Shared Function Mid( _
   ByVal str As String, _
   ByVal start As Integer _
) As String
 

Parameters

str
Required. String expression from which characters are returned.
start
Required. Integer expression. Starting position of the characters to return. If start is greater than the number of characters in str, the Mid function returns a zero-length string (""). start is one based.

Return Value

Returns a string containing a specified number of characters from a string.
See Also