PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → buffers and strings
buffers and strings
Iniciado por guest, 31,jul. 2017 08:32 - 2 respuestas
Publicado el 31,julio 2017 - 08:32
Greetings Gang!

Does anyone know how to turn a buffer into a string?

Ordinarily it does it just fine, but from time to time I get <0> left over. does anyone know how I could turn this
T<0>2<0>e<0>A<0>L<0>8<0>k<0>v<0>w<0>9<0>h<0>L<0>W<0>S<0>1<0>i<0>b<0>8<0>Q<0>R<0>

into
T2eAL8kvw9hLWS1ib8QR
Publicado el 31,julio 2017 - 08:39
Hi,

You can create an ANSI string and assign the buffer to it. Or use unicodetoAnsi function.

D.
Publicado el 31,julio 2017 - 08:50
thanks for that Danny....

that was brilliant :)

UnicodeToAnsi saves the day.