Re: [Gambas-user] How to replace chr$(13) from a text file

2016-04-12 Thread José Monteiro
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. --

Re: [Gambas-user] How to replace chr$(13) from a text file

2016-04-12 Thread José Monteiro
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.

[Gambas-user] How to replace chr$(13) from a text file

2016-04-11 Thread 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. -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-replace-chr-13-from-a-text-file-tp55908.html

Re: [Gambas-user] Lenght of a string

2016-04-06 Thread José Monteiro
Thank you, Oliver. Using String.len(name) completely solves the problem. -- View this message in context: http://gambas.8142.n7.nabble.com/Lenght-of-a-string-tp55855p55858.html Sent from the gambas-user mailing list archive at Nabble.com. ---

[Gambas-user] Lenght of a string

2016-04-06 Thread José Monteiro
len("José Antônio") = 14 I need to fill a text file and upload it to a system in order to make an invoice. The field "name" must have lenght = 115. If shorter than that you must complement it with spaces. So: for i = 1 to (115 - len(name)) name = name & Space$(1) next The result is --> "José