How to Convert a string to an Integer?

Hey, I’m new in VB and I want to know how can I convert a String to an Integer , well thanks!!

Answer this question

How to Convert a string to an Integer?

  • John P Murphy

    Ok, thanks.
  • princess275

    dim a as string = "5"

    dim b as integer = cint(a)

  • How to Convert a string to an Integer?