Hi,
Name/username Host Dyn Nat ACL Port Status
5102/5102 (Unspecified) D 0 Unmonitored
From the above i have to display the Name/username alone.I have tried the below code
it gives the following output
Name/username
Name/username
Name/username
Name/username
Name/username
Name/username
Name/username
Name/username
Name/username
Name/username
Name/username
Name/username
Name/username
Name/username
Name/username Host
Name/username Host
Name/username Host
Name/username Host
Name/username Host
Name/username Host
Name/username Host
Name/username Host
Name/username Host
Name/username Host
Name/username Host
Name/username Host
Name/username Host Dyn
Name/username Host Dyn Nat
Name/username Host Dyn Nat ACL
Name/username Host Dyn Nat ACL Port
Name/username Host Dyn Nat ACL Port
Name/username Host Dyn Nat ACL Port
Name/username Host Dyn Nat ACL Port
Name/username Host Dyn Nat ACL Port
Name/username Host Dyn Nat ACL Port Status
Name/username Host Dyn Nat ACL Port Status
Name/username Host Dyn Nat ACL Port Status
Name/username Host Dyn Nat ACL Port Status
5102/5102
5102/5102
5102/5102
5102/5102
5102/5102
5102/5102
5102/5102
5102/5102
5102/5102
5102/5102
5102/5102
5102/5102
5102/5102
5102/5102
5102/5102
5102/5102
5102/5102
5102/5102
5102/5102 (Unspecified)
5102/5102 (Unspecified)
5102/5102 (Unspecified)
I think i have to check the
string length and i have to use the separator to split the strings.but i dont know how to do in code.anybody explain me in code please.
Thanks.