2017-05-23 7:07 GMT-04:00 Charlie :
> I'm not sure where 'querycolsinserts' comes in to this but the code below
>
sorry was my fault, i mean "query1"
> works fine: -
>
> Print Left$(query1, -1)
> Print Left(query1, -1)
> The output is: -
> `SHW325X`
> `SHW325X`
> `SHW325X`
>
quite strange, in
I'm not sure where 'querycolsinserts' comes in to this but the code below
works fine: -
*Public Sub Form_Open()
Dim query1 As String = "`SHW325X`,"
Dim siCount As Short
For siCount = Len(query1) DownTo 1
Print String.Left(query1, siCount)
Next
Print String.Left(query1, -1)
Print Left$(query1, -1)
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 dep