i have an integer of numbers “1234” output from an input dialog
how do i convert it into a list of string? {“1”,“2”,“3”,“4”}
i have an integer of numbers “1234” output from an input dialog
how do i convert it into a list of string? {“1”,“2”,“3”,“4”}
Hi,
Can you try the following expression?
Let’s say text = "1234"
listString = text.Select(function(x) x.ToString).toList
If you need array, the following will work.
arrayString = text.Select(function(x) x.ToString).toArray
Regards,
hi Yoichi
Thanks.
i tried, but it stated select is a member not part of int.
i’m trying to get the output from a user input dialog “1234” (int32) and convert it into a string.
I tried
Hi,
You should write as the following.
UserNumList = GuessNumber.toString.Select(function(x) x.ToString).toArray
note: Perhaps you should set guessNumber type as String, because user doesn’t always input numeric value only.
Regards,
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.