Get A part from a string

Jan 19 2013 4:10 PM
Hi All

i have String date = 10/1/2012

and i need to filter it to 1/2012

i used date = date.Split('/')[0]; but result be date = 10

Thanks to all

Answers (2)