substring()¶
Purpose¶
substring(str, start, subStringLength)
Creates a substring from str. The substring begins at start and is at most subStringLength characters long.
Note
The first character of the string has the value 0. So if you set start to ‘2’, the substring will start with the third character.
Example¶
In the following example a substring from the string is created, starting with the 4th character and being 5 characters long.
substring("123456789", 3, 5)
This example will result in the substring “45678”.
See also
Help with configuring/using Rsyslog
:
- Mailing list - best route for general questions
- GitHub: rsyslog source project - detailed questions, reporting issues
that are believed to be bugs with
Rsyslog
- Stack Exchange (View, Ask) - experimental support from rsyslog community
See also
Contributing to Rsyslog
:
- Source project: rsyslog project README.
- Documentation: rsyslog-doc project README