Thread: Stuf LUA help
View Single Post
11-06-17, 06:10 PM   #11
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,877
gsub returns 1, the new string and 2, the number of matches. When the number of matches == 0 (in this case k) break out of the loop.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote