Vely logo install

Vely 15.2.0 released on Jan 18, 2023
Articles updated Jan 17, 2023


Issues with this documentation page? Report here.


Outputs a URL-encoded formatted string.


pf-url [ bytes-written [ define ] <bytes> ] <format> <expression> [ , <expression> ]...


pf-url is the same as pf-out, except that the output is URL-encoded. This means such output is suited for use in URL parameters.


Create a URL based on arbitrary strings used as URL parameters - for instance space would be encoded as "%20" in the final output:

@<a href='<<p-path>>/update?val=<<pf-url "Purchased %s for %lld dollars", piece_desc, price>>'>Log transaction</a>

See pf-out for more examples.

See also:

Output ( finish-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) 2022 DaSoftver LLC. Vely is a trademark of Dasoftver LLC. The software and information herein are provided "AS IS" and without any warranties or guarantees of any kind. Vely elephant logo (c) 2022 DaSoftver LLC. This web page is licensed under CC-BY-SA-4.0.