[Gambas-user] Removing last character of a string

Fabien Bodard gambas.fr at ...626...
Sat Jan 30 18:49:17 CET 2010


charlie ... string.something is for the utf8 strings

and the left negative way is the good short way

2010/1/30 Charlie Reinl <Karl.Reinl at ...9...>:
> 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
>
>
> ------------------------------------------------------------------------------
> 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
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list