L Lego Jérôme Member Licensed User Dec 2, 2018 #1 I would like to retrieve each line of a textarea. (each line of line wrapping) > This is my text area i try this code : B4X: Dim lines() As String = Regex.Split2("[\r?\n]",25,cour.Text) but in my log i just have 2 lines :
I would like to retrieve each line of a textarea. (each line of line wrapping) > This is my text area i try this code : B4X: Dim lines() As String = Regex.Split2("[\r?\n]",25,cour.Text) but in my log i just have 2 lines :
Erel B4X founder Staff member Licensed User Longtime User Dec 2, 2018 #2 Regex will not help here. The string itself is made of two lines. You can disable text wrapping and it will then match the displayed text. Upvote 0
Regex will not help here. The string itself is made of two lines. You can disable text wrapping and it will then match the displayed text.