Re: string to integer array
- From: "Ignacio Machin \( .NET/ C# MVP \)" <ignacio.machin AT dot.state.fl.us>
- Date: Thu, 18 May 2006 08:34:55 -0400
Hi,
There is no "one method call" way of doing this. Split the string , create
the array and convert each string piece to int
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Howard" <howdy0909@xxxxxxxxx> wrote in message
news:esCUv5leGHA.3572@xxxxxxxxxxxxxxxxxxxxxxx
How would I convert a string to an integer arrary or arraylist?
example:
string mystring = "1, 2, 3";
//convert to
int[] myArr = {1, 2, 3};
Thanks in advance,
Howard
.
- References:
- string to integer array
- From: Howard
- string to integer array
- Prev by Date: Re: Error converting dd/MM/yyyy to sql server format
- Next by Date: Re: How can i acquire information about the hardware firewall
- Previous by thread: Re: string to integer array
- Next by thread: Re: How can i get a object by it name in the class whict create it.
- Index(es):
Relevant Pages
|
Loading