View Single Post
  #1  
Unread 05-18-2018, 09:35 PM
Seagoat's Avatar
Seagoat Seagoat is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: May 2005
Server: Crushbone
Posts: 298
Default 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?
Reply With Quote