Jump to content

ToUpper and ToLower no longer in SKSE???


gooser

Recommended Posts

Posted

I just noticed the top of this file:

 

http://www.creationkit.com/ToUpper_-_StringUtil

ToUpper - StringUtil
SKSE Member of: StringUtil Script
This function is not present in SKSE anymore. 
Returns the given string as uppercase. (This function requires SKSE)

I just checked my SKSE 1.7 source StringUtil.psc and indeed they are gone.

 

Dafuq?

 

Where are these functions now? 

Posted

These methods are still presented in c++ code but they are no more exported into skyrim for some reason.

The one reason i see is that these methods will change all occurrences of some particular string.

 

Posted

I was thinking of writing my own routines using StringUtil's AsOrd, and AsChar... Do you think it will work?

Posted

I was thinking of writing my own routines using StringUtil's AsOrd, and AsChar... Do you think it will work?

Dunno..  Skyrim ignores my strings and replaces them with similar (using case insensitive comparison)

 

 

So Papyrus "interns" strings? There's no copy-on-write at all?

do not understand you.

but skse just replaces cached string chars with lower/upper chars

Posted

I've been thinking of just writing a SKSE plugin for doing these kinds of text manipulations... String support is very anemic in Papyrus as it is.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...