Re: [Gambas-user] Workaround for LEN()

2009-12-12 Thread Kadaitcha Man
2009/12/13 Norarg : > Still it would be nice to hear from someone about this, I do not find > this solution good. I assume it has something to do with the characterset, > but I can > not really figure it out. Simonart Dominique: "Use the String class methods and all will works as you expected."

[Gambas-user] Workaround for LEN()

2009-12-12 Thread Norarg
don't get any mails today, it seems. I solved the LEN()-problem with a not very pretty function. ' Workaround LEN()-Function PUBLIC FUNCTION SetLenght(txt AS String, leng AS Integer) AS String DIM L AS Integer DIM T1 AS String DIM T2 AS String T1 = "" L = 0 DO WHILE L < leng L =