Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(x=0;x<10;++x)
- {
- if(str.charAt(x) == i && str.charAt(x+1) == "=")
- {
- position[i] = x;
- ++i;
- }
- }
- for(x=0;x<10;++x)
- variable[x] = str.splice(position[x]+2, position[x+1]-1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement