File: rs-cstr.rst

package info (click to toggle)
rsyslog-doc 8.2302.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,464 kB
  • sloc: python: 178; makefile: 8
file content (27 lines) | stat: -rw-r--r-- 248 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
******
cstr()
******

Purpose
=======

cstr(expr)

Converts expr to a string value.


Example
=======

In the following example a string is created from the expression.

.. code-block:: none

   cstr(5*4);

produces

.. code-block:: none

   "20"