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.
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
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.
---
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é