Gets a specified number of characters, starting with the leftmost character.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overridable Function GetLeftmostCharacters( _
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.GetLeftmostCharacters(count)
|
Parameters
- count
- Number of characters to return
Return Value
String with the number of characters designated by the
count parameter
Example
| C# | Copy Code |
|---|
control.Text="Getleftmostcharactertest";
StringStr=control.GetLeftmostCharacters(8);
textBox1.Text=Str; |
| Visual Basic | Copy Code |
|---|
DimstrAsString
control.Text="Getleftmostcharactertest"
str=control.GetLeftmostCharacters(8)
TextBox1.Text=str |
Remarks
See Also