Background for Skyrim SE

The StringUtil Script

    The StringUtil script is a part of Skyrim SE’s Papyrus scripting ecosystem. This script is not present in the vanilla game, but can be found in modded sources like Skyrim Script Extender x64 (SKSE).

    For this script, the Papyrus index knows about:

    • 11 functions


    Inheritance Tree

    No indexed scripts extend this script.

    Properties

    No properties found.

      Events

        No events found.

      Functions

      • intfunctionGetLength(strings)NativeGlobal

        Returns the length of the passed string. (This function requires SKSE)

      • stringfunctionGetNthChar(strings, intindex)NativeGlobal

        Returns the character at the given index in the given string. (This function requires SKSE)

      • boolfunctionIsLetter(stringc)NativeGlobal

        Returns whether the character is a letter or not. (This function requires SKSE)

      • boolfunctionIsDigit(stringc)NativeGlobal

        Returns whether the character is a digit or not. (This function requires SKSE)

      • boolfunctionIsPunctuation(stringc)NativeGlobal

        Returns whether the character is punctuation or not. (This function requires SKSE)

      • boolfunctionIsPrintable(stringc)NativeGlobal
      • intfunctionFind(strings, stringtoFind, intstartIndex=0)NativeGlobal

        Returns the index of the first occurence of specified phrase inside given string, optionally starting on selected position. (This function requires SKSE)

      • stringfunctionSubstring(strings, intstartIndex, intlen=0)NativeGlobal

        Returns a portion of the string starting at given index, optionally with specified amount of characters. (This function requires SKSE)

      • intfunctionAsOrd(stringc)NativeGlobal

        Returns the decimal equivalent of the given character. (This function requires SKSE)

      • stringfunctionAsChar(intc)NativeGlobal

        returns a single character string interpreting c as a character

      • string[]functionSplit(strings, stringdelim)NativeGlobal

        returns array of strings separated by the specified delimiter

      Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.