How to Create a string array by spliting a string? : <p>I am kinda stuck at the moment, i have a string of numbers which i dynamically get them from database, the range of numbers can be between 1 to 1 milion, something like this :</p>

<pre><code>string str = "10000,68866225,77885525,3,787";
</code></pre>

<p>i need to create an array from it, i have tried this:</p>

<pre><code>string[] strArr = { str.Replace(",", "").Split(',') };
</code></pre>

<p>but it doesnt work anyone has any solution i am all ours. Basically it needs to be like this:</p>

<pre><code>string[] strArr = { "10000","68866225","77885525","3","787" };
</code></pre>
