You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Vinny <xa...@gmail.com> on 2008/06/05 05:06:01 UTC
splitting on a period ?
OK, this one baffles me :)
"file.txt".split(".") produces an empty array ?
testing it on the groovysh, (trying to that more often before posting
on the list) :
groovy:000> mysplit = "file.txt".split(".")
===> [Ljava.lang.String;@73b4f342
groovy:000> mysplit.size()
===> 0
groovy:000> println mysplit
{}
===> null
Thanks in advance.
--
The future is here. It's just not widely distributed yet.
-William Gibson
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org