Assign: Index was outside the bounds of the array ERROR

@Soudios

It should be like this.

             ClientInformation.SubString(ClientInformation.IndexOf("Client ID: ")+"Client ID: ".Length).Split(Environment.NewLine.TocharArray)(0)

I am using : (Is it right ?)

ClientInformation.Split({":",“Client ID”},StringSplitOptions.RemoveEmptyEntries)(1).Trim()