I have a string data dictionary which has details about account. Basically what I want is to use split and trim to get the username portion of the dictionary.
I am not sure how to do this though.
Example of the output after using a for each loop to cycle through each item in the data dictionary and using item.tostring to output it. Also the reason I am stuck and correct me if I am wrong but to use the trim method you need to know what’s after username but it’s not always Account.
Can anyone help, please.
Name: Superman
Date:12/11/2019
Username:B1234
Account: Ultra Access
Account Description: This is a generic account