dimanche 7 mars 2021

Is there a shortcut in Visual Basic where I can detect if a string contains ANY type of Korean Characters?

I need a shortcut where I can detect if there are ANY Korean Characters in a substring.

The substring is easy to make in my context. However, I am stuck on the Korean Characters.

How do you do it?

Let's give an example:

   Dim strBegin as String = Textbox1.Text

   If (****strBegin has any Korean Characters***) Then

          Textbox1.Text = "false"

   End If

Is there a definitive shortcut where I can replace the **** with something simple?

Aucun commentaire:

Enregistrer un commentaire