Vely logo install | documentation | examples | changelog
16.10.0 released May 10, 2023
pf-web

Purpose: Outputs a web-encoded formatted string.

pf-web [ bytes-written [ define ] <bytes> ] [ to-error ] <format> <expression> [ , <expression> ]...

pf-web is the same as pf-out, except that the output is web-encoded (or HTML-encoded). This means such output is suited for use in web pages - the text will be displayed verbatim without HTML-markup being interpreted.
Examples
Display text containing HTML tags without them being rendered in the browser:
pf-web "We use %s markup", "<hr/>"

See pf-out for more examples.
See also
Output ( finish-output   flush-output   output_statement   p-dbl   pf-out   pf-url   pf-web   p-num   p-out   p-path   p-url   p-web  )  SEE ALL (documentation)


Copyright (c) 2017-2023 Dasoftver LLC