[Gambas-user] Split-Method

Hans Lehmann hans at gambas-buch.de
Mon Feb 5 21:43:24 CET 2018


Hello,

when I use this string 'sLine' :

^Property^Data type^Description^

then I get a totally wrong result:

        ' Number of columns in the table

          iColumnCounter = Split(sLine,"^").Count
          Print iColumnCounter

The result is 5, which is due to UTF8 and the character ^?

How do I get the correct result 3?

With kind regards

Hans


More information about the User mailing list