Ho una stringa

codice:
s = "1,2,3,4,5";
e due problemini... :master:

problema 1 : scomporre la stringa in array di stringhe per ottenere:
codice:
string array[] = {"1","2","3","4","5"}
problema 2 : trasformare l'array di stinghe in array di interi... per ottenere:
codice:
int array[] = {1,2,3,4,5}
thanks!