[Gambas-user] Keyboard function skipped?
Benoit Minisini
gambas at ...1...
Sat Aug 7 13:23:27 CEST 2004
On Thursday 10 June 2004 18:39, Daniel wrote:
> El mié, 09-06-2004 a las 21:13, Benoit Minisini escribió:
> > On Wednesday 09 June 2004 18:27, danielcampos at ...282... wrote:
> > > VB has two functions : Lenb() is byte lenght, Len() is characters
> > > lenght, may be Gambas needs something like this!
> > >
> > > Regards,
> > >
> > > Daniel Campos
> >
> > There is no assumption on the charset used by the system, contrary to
> > Windows. So the function might be Len(String, Charset).
>
> Well, once you're using iconv, you can use:
>
> int iconv_strlen ( string str [, string charset]);
>
> To get that character length, and
>
> int iconv_strpos ( string haystack, string needle, int offset [, string
> charset])
>
> To get the position of a character
>
These are PHP functions man ! I must implement them by hand :-(
--
Benoit Minisini
mailto:gambas at ...1...
More information about the User
mailing list