Spread Windows Forms 7.0 Product Documentation
GetRightmostCharacters Method
See Also  Example Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > SuperEditBase Class : GetRightmostCharacters Method


count
Number of characters to return

Glossary Item Box

Gets a specified number of characters, starting with the rightmost character.

Syntax

Visual Basic (Declaration) 
Public Overridable Function GetRightmostCharacters( _
   ByVal count As Integer _
) As String
Visual Basic (Usage)Copy Code
Dim instance As SuperEditBase
Dim count As Integer
Dim value As String
 
value = instance.GetRightmostCharacters(count)
C# 
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

C#Copy Code
control.Text="Getrightmostcharactertest";
stringstr=control.GetRightmostCharacters(8);
textBox1.Text=str;
Visual BasicCopy Code
DimstrAsString
control.Text="Getrightmostcharactertest"
str=control.GetRightmostCharacters(8)
TextBox1.Text=str

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.