Very bizarre string behavior (forced capitalization)

Post » Thu Feb 14, 2013 12:45 pm

Encountering some completely ridiculous behavior with strings here...

Debug.Notification("th")string num = "12"string suffix = "th"Debug.MessageBox("On the "+num+suffix+" day of...")Debug.Notification("Ok let's try this again: "+StringUtil.SubString("99th", 2, 2))
Outputs Th every time instead of th no matter where it occurs. If you try to construct it out of "t"+"h", you get TH. It seems like there's forced capitalization of strings (probably trying to catch the word "The"?) in scripts at a level below what we have access to. Is there any way to disable this behavior? It looks like I'm going to have to either create an array of all 31 day ordinals or else 31 separate if checks to avoid capitalization.
User avatar
carley moss
 
Posts: 3331
Joined: Tue Jun 20, 2006 5:05 pm

Return to V - Skyrim