Am Samstag, den 30.01.2010, 18:49 +0100 schrieb Fabien Bodard:
> charlie ... string.something is for the utf8 strings
> 
> and the left negative way is the good short way
> 
> 2010/1/30 Charlie Reinl <[email protected]>:
> > Am Samstag, den 30.01.2010, 16:03 +0100 schrieb Alessandro Rinaldi:
> >> The subject explains everything... I really can't find a way to do that!
> >> Thank you
> >>
> >
> > Salut ,
> >
> > take only the left side - 1 char
> >
> > Dim sText as String
> >
> > sText = "1234567890A"
> >
> > sText =   String.Left(sText,  String.Len(sText) - 1)
> >
> >
> > --
> > Amicalement
> > Charlie

Salut Fabien,

yes I know that it is for utf8, but till now I had no problems, which I
had with Left   and/or Len .

Are there known problems ?

For the -1 , yes very nice, but old habits, and daily use, could be the
end of innovations. 

-- 
Amicalement
Charlie


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to