I want to split a dato string like 2011.08.02 into year, month and days to
calculate the age of a person.
$year = 2011
$month = 08
$day = 02  

$year =($date.replaceAll($'\d\d\d\d.','$1'))
is not working. 
--
Volker Lapczynski  http://RadWiki.net RadWiki.net 


--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Velocity-replaceALL-split-dato-string-with-Regex-tp6841890p6841890.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to