Level 3 Assignment1 - Need help with pg.13

Hi All,
I need help with the below. I have created my out arguments, but I am unclear of what the vb expression should be. What am I not understanding?



Try this:

Use Get Text to get client data into ‘ClientInformation’ variable.

out_ClientID = ClientInformation.Substring(ClientInformation.IndexOf("Client ID: ")+"Client ID: ".Length).Split(Environment.NewLine.ToCharArray)(0)
out_ClientName= ClientInformation.Substring(ClientInformation.IndexOf("Client Name: ")+"Client Name: ".Length).Split(Environment.NewLine.ToCharArray)(0)
out_ClientCountry= ClientInformation.Substring(ClientInformation.IndexOf("Client Country: ")+"Client Country: ".Length).Split(Environment.NewLine.ToCharArray)(0)


Out_ClientCountry =Out_ClientCountry.TrimEnd.TrimStart

try with this

thanks, but it appears with an error.
Is it something that I am doing wrong?

This method does not give me an error. I’ll try running the process, and see if this works.
Thanks for the suggestion.


On right hand side, remove that out_ClientID = and Write below one:

ClientInformation.Substring(ClientInformation.IndexOf("Client ID: ")+"Client ID: ".Length).Split(Environment.NewLine.ToCharArray)(0)


Perfect. This worked.

1 Like

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