View Single Post
01-24-21, 04:15 PM   #2
briskman3000
A Flamescale Wyrmkin
 
briskman3000's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 108
back in legion, this is how I got the numbers, and only the numbers, out of the artifact power item tooltips without seperators. You can modify this to do what you want (I would guess).

Code:
appower = string.match(_G[self:GetName().."TextLeft"..i]:GetText(), "%d+%,?%.?%s?%d*");						
appower = string.gsub(string.gsub(appower, "%,", ""), "%.", "");
__________________
My Addons: Convert Ratings Honor Track
  Reply With Quote