Hi,..
How do i count a string without a 0 terminator
like for exaample with the following decleration.
word1 db "String"
thanks...
If you have it declared as so, can you not just use the length? ( '6' )
"sizeof word1" will give you its length in the code.
If you do null-terminate it, but want the length not including the zero, then you can do "(sizeof word1)-1"
Thankyou Ted.
Rainstorm
[
edit]
eddieB wrote
QuoteIf you have it declared as so, can you not just use the length? ( '6'
yes, meant the length/(no of chars)....but i wanted to know
how i could get the value in the code.