On Mon, 28 Apr 2014, abbat81 wrote: > Print Len("iiiiiiiiii") ' not cyrillic > Print Len("????????????????????") ' cyrillic > > >10 > >20 > > How can I get correct value with cyrillic symbols? > Thanks >
Use String.Len() which can deal with UTF-8 characters. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user