Function EN Version 2.00

@TextToDigits

List Misc Text

Syntax

@TextToDigits(TEXT1);
@TextToDigits(TEXT1;OPTIONS1);
@TextToDigits(TEXTLIST1);
@TextToDigits(TEXTLIST1;OPTIONS1);

Description

Converts the ASCII characters of TEXT/TEXTLIST TEXT1/TEXTLIST1 into the corresponding ASCII-CHAR values and returns them in the form of TEXT/TEXTLIST.
OPTIONS1 specifies the numeral system in which the ASCII-CHAR values should be output.
If no second parameter is specified, decimal ASCII-CHAR values are assumed automatically.
The individual ASCII-CHAR values are separated by spaces (" ").

OPTIONS1:
D = decimal ASCII-CHAR values
H = hexadecimal ASCII-CHAR values

Example @TextToDigits(TEXT1);

Text:=@TextToDigits("1122");

TEXT is assigned the TEXT value "49 49 50 50".

Example @TextToDigits(TEXT1;OPTIONS1);

Text:=@TextToDigits("1122";"H");

TEXT is assigned the TEXT value "31 31 32 32".

Example @TextToDigits(TEXTLIST1);

Text:=@TextToDigits("1122":"test");

TEXT is assigned the TEXTLIST "49 49 50 50":"116 101 115 116".

Example @TextToDigits(TEXTLIST1;OPTIONS1);

Example 1:

Text:=@TextToDigits("1122":"test";"D");

TEXT is assigned the TEXTLIST "49 49 50 50":"116 101 115 116".

Example 2:

Text:=@TextToDigits("1122":"test";"H");

TEXT is assigned the TEXTLIST "31 31 32 32":"74 65 73 74".

Note : This text was machine-translated and may contain inaccuracies.