Extracting portion of a GameData string
Still chipping away at updating my XP Bars mod, and I'm curious if there's a way to extract only a portion of the string returned by a GameData element.
For instance, I'd like to get only the class name from /GameData.Self.AscensionLevelClass. The default string returned is "Level X Classname," and while there's a way to get just the level with GameData (.AscensionLevel), there's no class name equivalent.
Is there a DynamicDataFilter that will accomplish this (I am a 100% bitflag noob), or a bit of fancy code I can use to return only the third word in the string?
|