Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String strDate = '02/02/2016 - 02/10/2016';
- String [] splitDate = strDate.split('-');
- system.debug('****First Date***'+ splitDate[0]);
- system.debug('****Second Date***'+splitDate[1]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement