View Single Post
08/04/14, 12:01 PM   #11
Khaibit
 
Khaibit's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2014
Posts: 26
Originally Posted by Garkin View Post
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
Ah, thanks for that - I wasn't totally clear on arguments for zo_strformat. That sounds a whole lot easier and not regressive

Edit: Just to follow up - zo_strformat("<<t:1>>", itemLink) correctly formats both pre-Update 3 and post-Update 3 links correctly as expected. Thanks again Garkin, you rock

Last edited by Khaibit : 08/04/14 at 12:13 PM.
  Reply With Quote