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
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Jan 19, 2013, 4:33 PM
islam elbazPosted Jan 19, 2013, 5:08 PM
Try also :
string date = "10/1/2012";