ActiveReports 12
Mid(String,Int32) Method

GrapeCity.ActiveReports.v12 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.
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
public static string Mid( 
   string str,
   int start
)

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

Reference

Strings Class
Strings Members
Overload List