Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I have an ARRAY containing some ITEMS. The amount may DIFFER.
- ["foo","bar","THE","brown","fox",REAL","lazy","dog"]
- The only items I want from this array is "THE" and "REAL"
- Basically the array always starts with two useless items, and then starts listing real items. After every
- real item there is two more useless items. The thing is that I only want to collect the real items just by
- doing some math, not depending on the items value.
- Does someone know a nice way doing this? Or can give me a hint :)
Add Comment
Please, Sign In to add comment