Thank you, Rolf.
On Tuesday, April 12, 2016 5:51 AM, Rolf-Werner Eilert
wrote:
The New Line in Linux is chr$(10), not chr$(13).
So here the Replace will not find anything:
Am 11.04.2016 17:18, schrieb José Monteiro:
> By now I tried to use:
>
> Mglobal.info = Replace$(TextArea1.Text,
The New Line in Linux is chr$(10), not chr$(13).
So here the Replace will not find anything:
Am 11.04.2016 17:18, schrieb José Monteiro:
> By now I tried to use:
>
> Mglobal.info = Replace$(TextArea1.Text, Chr$(13), "|")
>
> Unfortunately, the global variable "info" still has new lines and a pars
I will give it a try. Thanks Charlie.
--
View this message in context:
http://gambas.8142.n7.nabble.com/How-to-replace-chr-13-from-a-text-file-tp55908p55920.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Works very well, GianLuigi. Thanks.
--
View this message in context:
http://gambas.8142.n7.nabble.com/How-to-replace-chr-13-from-a-text-file-tp55908p55919.html
Sent from the gambas-user mailing list archive at Nabble.com.
Am Montag, den 11.04.2016, 08:18 -0700 schrieb José Monteiro:
> By now I tried to use:
>
> Mglobal.info = Replace$(TextArea1.Text, Chr$(13), "|")
>
> Unfortunately, the global variable "info" still has new lines and a parser
> refuses to accept it.
Salut José,
try this :
Mglobal.info = Replac
And instead so?
Mglobal.info = Replace$(TextArea1.Text, "\n", "|")
Regards
Gianluigi
2016-04-11 18:10 GMT+02:00 Charlie :
> Not sure why but if you add Chr(13) to the TextArea and then save the
> output
> as a file then look at the Hex in the file the Chr(13) is '0A' which is
> Chr(10).
> The cod
Not sure why but if you add Chr(13) to the TextArea and then save the output
as a file then look at the Hex in the file the Chr(13) is '0A' which is
Chr(10).
The code below works.
*Public Mglobal As String
Public Sub Form_Open()
TextArea1.text = "Hello" & Chr(13) & "World" & Chr(13) & "Hello " & C
By now I tried to use:
Mglobal.info = Replace$(TextArea1.Text, Chr$(13), "|")
Unfortunately, the global variable "info" still has new lines and a parser
refuses to accept it.
--
View this message in context:
http://gambas.8142.n7.nabble.com/How-to-replace-chr-13-from-a-text-file-tp55908.html