[Gambas-user] mid$

Rob sourceforge-raindog2 at ...94...
Tue Dec 7 01:03:53 CET 2004


On Monday 06 December 2004 17:26, scatman wrote:
> myString = "help me to understand mid String in gambas"
> print mid$(myString, 4)
> gambas shows me.
>  me to understand mid String in gambas
> but in the manuel
> print mid$("Gambas",4)
> says bas

In each case, the result of the function is the input string 
starting at the 5th character (in Gambas, you count from 0.)  So 
it's pretty consistent.  What did you expect the function to 
return?

Rob







More information about the User mailing list