[Gambas-user] left$ vs String.left behaviour

PICCORO McKAY Lenz mckaygerhard at ...626...
Mon May 22 19:43:38 CEST 2017


i have a var named query1 = "`SHW325X`,"

when i do  String.Left(querycolsinserts, -1) the las char "," are not
removed, so i used  Left$(querycolsinserts, -1) and works..

now this due the "`" char inside?

so then how can i do when i dont know if the string are utf-8 or not? due
the behaviour depends of the utf-8 nature of the string!


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



More information about the User mailing list