[Gambas-user] non printable char "Ⱶ" how to remove from string!!!!!

PICCORO McKAY Lenz mckaygerhard at ...626...
Wed Dec 23 20:14:04 CET 2015


i resend the char discovered by me, and the returnet by asc 195 and not the
same..

in any of the case i workaround using predefined constants and removing
"extra" bytes from the string.. there's no way to detect that char from a
serial device... must be a bug in the printer..

thanks all for help

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2015-12-23 12:16 GMT-04:30 Charlie <charlie at ...2793...>:

> Have a look at this code, note that the "Ⱶ" character is Chr(195) see  here
> <http://www.asciitable.com/>
> *Public Sub form_Open()
> Dim sString As String
> sString = Chr(195) & "Hello World" & Chr(195)
> Print sString
> sString = Replace(sString, Chr(195), "")
> Print sString
> End*
>
>
>
> --
> View this message in context:
> http://gambas.8142.n7.nabble.com/non-printable-char-how-to-remove-from-string-tp55078p55084.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list