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

2017-05-23 Thread PICCORO McKAY Lenz
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

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

2017-05-23 Thread Charlie
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)