Background for Skyrim SE
Member of the clib script
stringfunctioncStringTrim(stringaString, stringcharToTrim="", booluseSKSE=true)Global

Description

Documentation String

Requirements: None, SKSE:Soft

Documentation Comment

rewritten to allow charToTrim to be longer than one char in SKSE version only! One char only in non-SKSE
thank you cadpnq for the suggestion that made the non-SKSE version possible!


Caveats


Parameters

stringaString

stringcharToTrim=""

booluseSKSE=true


Examples

Auto-Generated Example

string myString__aString
string myString__charToTrim
bool myBool__useSKSE

string returnedValue = clib.cStringTrim(myString__aString, myString__charToTrim, myBool__useSKSE)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.