From fe1ce3a7dce2f1e76bffe9efc436c4a72103404e Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Wed, 4 Oct 2023 08:22:57 -0400 Subject: [PATCH] remove final reference to string: expansion --- doc/antora/modules/reference/pages/type/string/double.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/antora/modules/reference/pages/type/string/double.adoc b/doc/antora/modules/reference/pages/type/string/double.adoc index 9c4e7d41ee..2637b79223 100644 --- a/doc/antora/modules/reference/pages/type/string/double.adoc +++ b/doc/antora/modules/reference/pages/type/string/double.adoc @@ -101,7 +101,7 @@ The output strings here are completely different than for the previous examples. The output data type is `octets`, and not `string`. If the goal is to have the _raw_ `octets` data inserted into a -`string`, you must use the `%{string:...}` expansion. This expansion +`string`, you must cast the octets to a string value. That process will copy the input `octets` value to a the output, changing the data type to `string`. The value is left alone. @@ -109,7 +109,7 @@ type to `string`. The value is left alone. [source,unlang] ---- "User-Name is %{Tmp-Octets-0}" -"User-Name is %{string:%{Tmp-Octets-0}}" +"User-Name is %{(string) &Tmp-Octets-0}" ---- if the `&Tmp-Octets-0` attribute has value `0x666f6f` (`foo`) -- 2.47.2