I'm have de following code.
public class HelloVala: GLib.Object {
public static int main (string[] args) {
string cadena = "uno,dos,tres,cuatro";
stdout.printf("Cantidad de elementos %i\n",cadena.split(",").length);
return 0;
}
}


compiled with Vala 0.10.0 in ubuntu maverick no warnings, no errors but
the output is not fine at less for me.

Output ---->    Cantidad de elementos 55  





_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to