Hey guys,
Before of all, congratulation for this wonderful forum. The comunity have help me a lot in the last months so I have decided to post my problem hoping your help.
I have a string in a DB under "BufferR: ARRAY [0..41] OF BYTE"; I dont know his lenght (the string is changing continuosly in the buss) but I know that the ends in "END".
The problems are: How I can copy this string as string (no as byte) in my OB1? and How I can delete all characters after "E" of "END"?
Thanks
Note: I'm programming in SCL.
Before of all, congratulation for this wonderful forum. The comunity have help me a lot in the last months so I have decided to post my problem hoping your help.
I have a string in a DB under "BufferR: ARRAY [0..41] OF BYTE"; I dont know his lenght (the string is changing continuosly in the buss) but I know that the ends in "END".
The problems are: How I can copy this string as string (no as byte) in my OB1? and How I can delete all characters after "E" of "END"?
Thanks
Note: I'm programming in SCL.