D
D
Dizzy Qucile2020-04-20 15:05:33
Visual Basic
Dizzy Qucile, 2020-04-20 15:05:33

How to take two values ​​from one variable?

Hello, there is input data Number_comparison = TextBox3.Text

. For example, this variable will be 42, I need to take 4 and 2 separately from it and, for example, place them in separate variables, how can I implement this in Visual Basic?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Fenrir89, 2020-04-20
@DiZiNnEs

Dim charArray() As Char = TextBox3.Text.ToCharArray

And then from the array a query by digits to the desired type

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question