Advertisement
Guest User

Untitled

a guest
May 17th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. for(x=0;x<10;++x)
  2. {
  3. if(str.charAt(x) == i && str.charAt(x+1) == "=")
  4. {
  5. position[i] = x;
  6. ++i;
  7. }
  8. }
  9.  
  10. for(x=0;x<10;++x)
  11. variable[x] = str.splice(position[x]+2, position[x+1]-1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement