Progress Monitor for IdealProgrammer.com
Take Swift, Intelligent, Massive, Planned, Loving, Effective (S.I.M.P.L.E.) Action to Transform Self into Ideal
Skip Repetitive Navigational Links
Home
News
Presenters
Register
Contact
Categories
Titles
Converter
Code Samples
C# ASP.NET
C# Console
HTML
JavaScript
SQL Server
VB ASP.NET
VB Console
Please login
VB.NET String Function Right()
Description:
Illustrates using Right(string,length) and String Functions.
Example Class:
Public Class clsStringFunctionRight Public Sub Main() '**************************************************************************************** ' Example #1: Right(string,length) '**************************************************************************************** '**************************************************************************************** ' Example #1: Right(string,length) ' Returns length characters starting from the Right side of the string '**************************************************************************************** Console.WriteLine("Example #1: Right(string,length) ") Dim strRight As String = "This is a test string" Console.WriteLine(Right(strRight, 4)) 'Returns ring 'write blank line to make output easier to read Console.WriteLine() 'Prevent console from closing before you press enter Console.ReadLine() End Sub End Class
Example Module:
Module Module1 Sub Main() Dim myclsStringFunctionRight As New clsStringFunctionRight myclsStringFunctionRight.Main() End Sub End Module
Home
News
Presenters
Register
Contact
Categories
Titles
Converter
Code Samples
C# ASP.NET
C# Console
HTML
JavaScript
SQL Server
VB ASP.NET
VB Console