DATA:Translate:Asciiz

DATA:Translate:Asciiz

Extracts a string up to the first NULL byte from another string

DATA:Translate:Asciiz

Defined In: DATA.NLM

Service: NetBasic


Syntax

<sString> = DATA:Translate:Asciiz (<sAsciiz>)


Return Values

String


Remarks

Extracts string <sString> up to the first NULL byte from string <sAsciiz. <sString> does not include the NULL byte.


Example

Str = "abc" + DATA:Char (0) + "def"
Print (DATA:Translate:Asciiz (Str)); Newline