From: Thomas Markwalder Date: Thu, 14 Apr 2022 12:48:45 +0000 (-0400) Subject: [#2272] Minor ARM fixes X-Git-Tag: Kea-2.1.5~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=892d9aa5d4f7eed9faee0a01fa2ede7dce8c7bff;p=thirdparty%2Fkea.git [#2272] Minor ARM fixes modified: arm/classify.rst --- diff --git a/doc/sphinx/arm/classify.rst b/doc/sphinx/arm/classify.rst index 50101d2baa..a2e90456bd 100644 --- a/doc/sphinx/arm/classify.rst +++ b/doc/sphinx/arm/classify.rst @@ -474,7 +474,7 @@ Notes: | | | a hexadecimal string, | | | | e.g. 0a:1b:2c:3e | +-----------------------+-------------------------+-----------------------+ - | Split | split('foo.bar','.',2) | Return the second | + | Split | split('foo.bar', '.' ,2)| Return the second | | | | field, splitting on | | | | dots. | +-----------------------+-------------------------+-----------------------+ @@ -601,8 +601,8 @@ an empty string for that field number. If value is an empty string, the result will an empty string. If the delimiters list is empty, the result will be the original value. If the is less than one or larger than the number of fields, the result will be an empty string. Some examples follow: - :: + split ('one.two..four', '.', 1) == 'one' split ('one.two..four', '.', 2) == 'two' split ('one.two..four', '.', 3) == ''