VB 6 – StrConv()

In this example, you will learn about the string handling funciton called StrConv(). That converts the string into following types

Advertisements
Advertisements
  • vbKatakana
  • vbHiragana
  • vbUpperCase
  • vbLowerCase
  • vbUnicode
  • vbWide
  • vbNarrow
  • vbProperCase
  • vbFromUnicode

Example Code:

Private Sub Command1_Click()

Dim str As String

str = Text1.Text
Text2.Text = StrConv(str, vbUpperCase)

End Sub

Output: StrConv()

Output - String Function - StrConv()
Output – String Function – StrConv()

Advertisements

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.