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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to