WoWInterface - View Single Post - string.gsub() and regular expression
View Single Post
01-24-21, 05:11 PM   #3
Fishing Trainer
Seerah's Avatar
WoWInterface Super Mod
Join Date: Oct 2006
Posts: 10,846
Lua Code:
  1. string.gsub("12,345", ",", "")
Substitute the comma with nothing (taking it out).
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote