namespace SPT_AKI_Installer.Aki.Helper { public class StringHelper { /// /// string to split, changes oldChar to newChar /// /// /// /// /// /// returns the string at a position using amount public string Splitter(string toSplit, char oldChar, char newChar, int amount) { return toSplit.Replace(oldChar, newChar).Split(newChar)[^amount]; } } }