Hello,
I have an input that looks like this:
stringvar1=“5-19-2”
and i need to add all of those numbers (5,19,2) to a list of strings.
Expected output: List1(of Strings) that has only the numbers in it
How can I do this? Using a regex?
Kind regards,
Paul
Hi @Paul_Andrei_Turcu ,
Have you tried using the Split Method :
Split(stringvar,"-").ToList
system
(system)
Closed
3
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.