View Single Post
08/04/14, 11:56 AM   #10
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by Khaibit View Post
The former includes the control characters. The latter strips them. They both don't correctly title-case names though. Going to see what happens if I strip out the name via gsub and force them into the pre-Update 3 link format.
This command should not capitalize any characters in name. If you want to make first letter of each word capital, you should use:
zo_strformat("<<t:1>>", text)
or
zo_strformat("<<T:1>>", text)

So if I want to get correctly formated item name from itemLink:
zo_strformat("<<tx:1>>", itemLink)

See more: http://www.esoui.com/forums/showthre...=7321#post7321
  Reply With Quote