FarPoint.Win Assembly > FarPoint.Win Namespace > SuperEditBase Class : GetLeftmostCharacters Method |
'Declaration Public Overridable Function GetLeftmostCharacters( _ ByVal count As Integer _ ) As String
'Usage Dim instance As SuperEditBase Dim count As Integer Dim value As String value = instance.GetLeftmostCharacters(count)
Use this method to return a specified number of characters, starting from the left. Specify the number of characters to return using the count parameter.
If you want to return a specified number of characters starting from the right, use the GetRightmostCharacters method.
control.Text="Getleftmostcharactertest";
StringStr=control.GetLeftmostCharacters(8);
textBox1.Text=Str;
DimstrAsString control.Text="Getleftmostcharactertest" str=control.GetLeftmostCharacters(8) TextBox1.Text=str
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8