Salve,

ho questo sorgente:

codice:
<script language="vb" runat="server">

   Sub Page_Load()
    
	  Dim variabile as String = "uno,due,tre"
	  
      variabile = split(variabile, ",") 
	  
	  For i = 0 to UBound(variabile)
	     
		 Response.Write trim(variabile(i))
	  
	  Next
	  
   End Sub
</script>
che genera questo errore:

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30311: Value of type '1-dimensional array of String' cannot be converted to 'String'.
su questa riga:

codice:
variabile = split(variabile, ",")
come mai ?

grazie !