daily pastebin goal
74%
SHARE
TWEET

Untitled

a guest Mar 25th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var string = '02h04m33s';
  2. var heure = string.split('h');
  3. var minute = heure[1].split('m');
  4. var seconde = minute[1].split('s');
  5.  
  6. console.log(heure[0])
  7. console.log(minute[0])
  8. console.log(seconde[0])
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top