Name
StrConv Function
Class
Microsoft.VisualBasic.Strings
Syntax
StrConv(str, conversion[, localeID])-
str Use: Required
Data Type: String
The string expression to convert
-
conversion Use: Required
Data Type: Constant of the
VbStrConvenumerationOne of the constants listed in Section .
-
localeID Use: Optional
Data Type: Integer
The locale identifier to use for the conversion
Return Value
A String converted according to conversion.
Description
Performs special conversions on a string
Rules at a Glance
The following intrinsic conversion constants specify the type of conversion to perform:
Constant
Converts...
VbStrConv.UpperCaseThe entire string to uppercase.
VbStrConv.LowerCaseThe entire string to lowercase.
VbStrConv.ProperCaseThe first letter of every word in
strto an uppercase character.VbStrConv.WideNarrow (single-byte) characters in
strto wide (double-byte) characters.VbStrConv.NarrowWide (double-byte) characters in
strto narrow (single-byte) characters.VbStrConv.KatakanaHiragana characters in
strto Katakana characters.VbStrConv.HiraganaKatakana characters in
strto Hiragana characters.VbStrConv.LinguisticCasingUses linguistic rules for casing. Can be used only with
UpperCaseandLowerCase.VbStrConv.NonePerforms no conversion on
str.VbStrConv.SimplifiedChineseTraditional Chinese characters in
strto Simplified Chinese.VbStrConv.TraditionalChineseSimplified Chinese characters in
strto Traditional Chinese.
You can ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access