MudkipTheEpic

Useful Snippets

Jul 6th, 2013
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. --[[
  2. Splitting equals values
  3. str="cake of lies=sammich of goodness, eatCakeForever=true,       asMuchWhitespaceAsYouWant=sammich"
  4. for key, value in str:match(",?%s*([^=]+)=([^,]+)" do block end
  5. More coming soon!
  6. ]]
Advertisement
Add Comment
Please, Sign In to add comment