VB 6 – StrConv()

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

  • 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()


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.