ActiveReports 12
Right Method

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace > Strings Class : Right Method
Required. String expression from which the rightmost characters are returned.
Required. Integer. Numeric expression indicating how many characters to return. If 0, a zero-length string ("") is returned. If greater than or equal to the number of characters in str, the entire string is returned.
Returns a string containing a specified number of characters from the right side of a string.
Syntax
'Declaration
 
Public Shared Function Right( _
   ByVal str As String, _
   ByVal length As Integer _
) As String
public static string Right( 
   string str,
   int length
)

Parameters

str
Required. String expression from which the rightmost characters are returned.
length
Required. Integer. Numeric expression indicating how many characters to return. If 0, a zero-length string ("") is returned. If greater than or equal to the number of characters in str, the entire string is returned.

Return Value

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

Reference

Strings Class
Strings Members