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

Description

Documentation String

Requirements: None, SKSE:Soft

Documentation Comment

charToTrim cannot be longer than one char (it will trim more than one just the string length can't be > 1)
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.cStringTrimLeft(myString__aString, myString__charToTrim, myBool__useSKSE)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.