Select all connected lines in vector

Example: you make a shape, give it a stroke then apply the outline stroke. Then you want to delete one of these two lines by selecting all the connected lines.

How to do that? I’ve looking for quite sometimes but found nothing yet.

Not sure exactly what it is you want to do but, have you tried editing the object?