Spiltting a Data Dictionary

Hi Guy

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

1 Like

Hi @bobby

Please see the article link below for your reference.Hope this might be helpful to you.

cheers :smiley:

Happy learning :smiley:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.