Hey there,

ok i finally get my list of directories from my server , but these look like this

-x 10 test mail 4096 Dec 1 12:01 users
-x 10 test mail 4096 Dec 1 12:01 admin


etc etc...

basically i only need "users", or in the second string "admin"

So how can i cut the text to get only those texts ??

Substring(9) does not work....

OK, what else from the string family have you tried?

Nevermind , substring(55) eventually worked ... lalala, happy happy

now i converted it to a textbox and then used substring wich works .... awesome , thanks LiZR

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.