Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionDim str1 As String str1 = "BLABLA" & Environment.NewLine If str1.Contains(Environment.NewLine) Then str1 = str1.Substring(0, str1.Length - 2) End If If Not str1.Contains(Environment.NewLine) Then MessageBox.Show("Environment.NewLine was removed") End If