4 th Apr 2020 23:49:35
Hai Friend , Sign In
Home
World
INDIA
Chennai City
Games
Developers
Members
Birthday
Search
Astrology
G. K.
Story
Tamil Nadu Government Holiday List 2018 in English and Tamil   *   Trichy: Wanted - PHP, MySql Programmers. Contact trichy people only 84894 28 444.   *   Indian Railways New Train Number List [Search / Enquiry / Locator / Finder]   *   பன்றிக் காய்ச்சல் பற்றி அறிந்து கொள்ளுங்கள் (Swine Flu H1N1)
See Also
Left Function Left Function
Len Function Len Function
Mid Function Mid Function
String Functions String Functions
Visual Basic Functions Visual Basic Functions
Visual Basic Home Visual Basic Home
 
Description  Syntax  Return Datatype  Example  Migration

Right Function - Visual Basic 6.0 (VB 6.0)

Returns a specified number of characters from the right side of a string.
Syntax:
Right(string,length)
Parameter Description
string Required. Any valid string expression.
length Required. Numeric expression indicating how many characters to return.

Return Data type:
String
Example:

Statement Result Remark
Right("abcd", 2) cd  
Right("abcd", 0)   Empty String
Right("abcd", 5) abcd  
Right("abcd", 4) abcd  
Right("abcd", -1) Error Invalid procedure call or argument
Right("abcd", null) Error Invalid use of Null
Right(null, 2) Null  
Right(True, 3) rue  
Right(False, 3) lse  
Right("abcd", True) Error Invalid procedure call or argument
Right("abcd", False)   Empty String
Right(unknown, 3)   Empty String
Go to top

Migration from Visual Basic 6.0 (VB 6.0) to
  Right Function in VB Script (VBS)
  Right Function in JScript (JS)
  Right Function in ASP (Active Server Page)
  Right Function in PHP Script
  Right Function in MS-Access
  Right Function in MS SQL Server
  Right Function in Oracle
  Right Function in C Language
  Right Function in C++ Language
  Right Function in Foxpro
  Right Function in Fortran
  Right Function in MS Excel Sheet
Go to top
 





© 2005 - 2007 Chennaiiq.com. All Rights Reserved.

Our Sites: ChennaiIQ.com || Tamil Calendar || Tamil Panchangam || KP Astrology
Our Blogs: Tamil Calendar



9327