4 th Apr 2020 23:54:18
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
String Functions String Functions
Visual Basic Functions Visual Basic Functions
Visual Basic Home Visual Basic Home
 
Description  Syntax  Return Datatype  Example  Migration

StrConv Function - Visual Basic 6.0 (VB 6.0)

Returns a converted string as specified.
Syntax:
StrConv(string, conversion[, LCID])
Parameter Description
string Required. String expression to be converted.
conversion Required. Integer. The sum of values specifying the type of conversion to perform.
LCID Optional. The LocaleID, if different than the system LocaleID. (The system LocaleID is the default.)

StrConv Function's conversion argument:
Constants Value Description
vbUpperCase 1 Convert to uppercase.
vbLowerCase 2 Convert to lowercase
vbProperCase 3 Converts the first letter of every word in string to uppercase.
vbWide 4 Converts narrow (single-byte) characters in string to wide (double-byte) characters.
vbWide 8 Converts wide (double-byte) characters in string to narrow (single-byte) characters.
vbWide 16 Converts Hiragana characters in string to Katakana characters.
vbWide 32 Converts Katakana characters in string to Hiragana characters.
vbWide 64 Converts the string to Unicode using the default code page of the system.
vbWide 128 Converts the string from Unicode to the default code page of the system.
 

Return Data type:
String
Example:

Statement Result Remark
StrConv("How are you?", 1) HOW ARE YOU? vbUpperCase
StrConv("How are you?", 2) how are you? vbLowerCase
StrConv("How are you?", 3) How Are You? vbProperCase
StrConv("abcd", 4) abcd  
StrConv("abcd", -1) Error Invalid procedure call or argument
StrConv("abcd", null) Error Invalid use of Null
StrConv(null, 2) Null  
StrConv(True, 3) Tru  
StrConv(False, 3) Fal  
StrConv("abcd", True) Error Invalid procedure call or argument
StrConv("abcd", False)   Empty String
StrConv(unknown, 3)   Empty String

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



9357