Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. String strDate = '02/02/2016 - 02/10/2016';
  2. String [] splitDate = strDate.split('-');
  3. system.debug('****First Date***'+ splitDate[0]);
  4. system.debug('****Second Date***'+splitDate[1]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement