Thanks a lot I solve the problem....there are two empty ("") value in the string[] that produce the problem. Sorry! -- View this message in context: http://gambas.8142.n7.nabble.com/String-array-problem-with-val-tp47278p47298.html Sent from the gambas-user mailing list archive at Nabble.com.