5 th Apr 2020 00:25:12
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
Space Function Space Function
String Functions String Functions
Visual Basic Functions Visual Basic Functions
Visual Basic Home Visual Basic Home
 
Description  Syntax  Return Datatype  Example  Migration

String Function - Visual Basic 6.0 (VB 6.0)

Returns a repeating character string of the length specified.
Syntax:
String(number, character)
Parameter Description
number Length of the returned string.
character Required. Character code specifying the character or string expression whose first character is used to build the return string.

Return Data type:
String
Example:

Statement Result Remark
String(10, "-") ----------  
String(7, "A") AAAAAAA  
String(7, 65) AAAAAAA Chr(65) = "A"
String(7, 322) BBBBBBB 322 mod 256 = 66
Chr(66) = "B"
String(8, "Chennaiiq") CCCCCCCC  
String(3, " ") [   ] 3 Spaces
String(Null, "A") Error Invalid user of null
String(10, Null) Null  
String(5, Unknown) [     ] 5 Spaces

Migration from Visual Basic 6.0 (VB 6.0) to
  String Function in VB Script (VBS)
  String Function in JScript (JS)
  String Function in ASP (Active Server Page)
  String Function in PHP Script
  String Function in MS-Access
  String Function in MS SQL Server
  String Function in Oracle
  String Function in C Language
  String Function in C++ Language
  String Function in Foxpro
  String Function in Fortran
  String 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



9581