[Gambas-user] mid$

Charlie Reinl na2492 at ...9...
Wed Dec 8 21:10:01 CET 2004


>Am Dienstag, 7. Dezember 2004 11:08 schrieb Benoit Minisini: 
> 
> 
>> > but in the manuel 
>> > print mid$("Gambas",4) 
>> > says bas 
>> > 
>> > regards 
>> 
>> Hmm... Not on my box: this returns whzt the doc says: 
>> 
>> p me to understand mid String in gambas 
>> 
>> Are you sure of your example ? Which language do you use ? 
> 
>It was wrong from me.  
>I thinking Mid$("Gambas",4) cuts from right site, but it is the left Site :-)

> 
>sorry, 
 
Salut, 
 
a mid$ or substr function, 
for me (and also for gambas-0.99.RC4) 
shows the part of the string (first argument), counted from left to the  
seconde argument, the starting position, to the  
third argument the end position. 
If third argument is not given to the end of the first (the string) argument.

 
Amicalement 
Charlie 
* Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de *




More information about the User mailing list