Spread Windows Forms 11.0 Product Documentation
GetRightmostCharacters Method
Example 


FarPoint.Win Assembly > FarPoint.Win Namespace > SuperEditBase Class : GetRightmostCharacters Method
Number of characters to return
Gets a specified number of characters, starting with the rightmost character.
Syntax
'Declaration
 
Public Overridable Function GetRightmostCharacters( _
   ByVal count As Integer _
) As String
'Usage
 
Dim instance As SuperEditBase
Dim count As Integer
Dim value As String
 
value = instance.GetRightmostCharacters(count)
public virtual string GetRightmostCharacters( 
   int count
)

Parameters

count
Number of characters to return

Return Value

String with the number of characters designated by the count parameter
Remarks

Use this method to return a specified number of characters, starting from the right. Specify the number of characters to return using the count parameter.

If you want to return a specified number of characters starting from the left, use the GetLeftmostCharacters method.

Example
control.Text="Getrightmostcharactertest";
stringstr=control.GetRightmostCharacters(8);
textBox1.Text=str;
DimstrAsString
control.Text="Getrightmostcharactertest"
str=control.GetRightmostCharacters(8)
TextBox1.Text=str
See Also

Reference

SuperEditBase Class
SuperEditBase Members
GetLeftmostCharacters Method