Changeset 814 for trunk/Modules/Export/files
- Timestamp:
- Nov 12, 2014, 8:27:48 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Export/files/1.12.1/CzWoW/CzWoW.lua
r755 r814 26 26 27 27 local trim=function(text) 28 if not text then return nil; end 29 return gsub(gsub(gsub(string.lower(text), "%s+", " "), "%s+$", ""), "^%s+", ""); 28 if not text then 29 return nil; 30 end 31 text = string.lower(text); 32 text = gsub(text, "%s+", " "); 33 text = gsub(text, "^%s+", ""); 34 text = gsub(text, "%s+$", ""); 35 text = gsub(text, " ", ""); 36 return text; 30 37 end 31 38
Note:
See TracChangeset
for help on using the changeset viewer.