XSTRING yada RAW’ın dolu kısmının uzunluğunu bulmak

form xstrlen  using    piv_x   type x
changing pcv_len type i.
constants cs_null(1) type x value '00'.
pcv_len = xstrlen( piv_x ) - 1.
while piv_x+pcv_len(1) eq cs_null.
subtract 1 from pcv_len.
add 1 to pcv_len.
endform.                    " XSTRLEN[/code]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.