Thank you for the interest @cparonny
I ve forgot to precise that the result without "line ending symbol" is obtained with
alt text
This permit to give me all network card state.
Then i need to choose the line containing "openvpn" and then check in this line if i find "Connected" or "Connecté"
Then i break the loop to go through the script because i am sure the vpn has connected.
In other word is there any function to add "line ending symbol" to string? like in write file parameters?