]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[trac4101] Move the substring examples into a screen
authorShawn Routhier <sar@isc.org>
Wed, 25 Nov 2015 20:18:37 +0000 (12:18 -0800)
committerShawn Routhier <sar@isc.org>
Wed, 25 Nov 2015 20:18:37 +0000 (12:18 -0800)
doc/guide/classify.xml

index fdedb4ee21dd71e4cd9f0791ccf327c0130d4874..a7797dac5852cc5de1866a7194a130641ab171b5 100644 (file)
           string.  If length is longer than the remaining portion of the string then
           the entire remaining portion is returned.  Some examples may be helpful:
 
-          <itemizedlist>
-          <listitem><para>
-            substring('foobar', 0, 6) == 'foobar'
-          </para></listitem>
-          <listitem><para>
-            substring('foobar', 3, 3) == 'bar'
-          </para></listitem>
-          <listitem><para>
-            substring('foobar', 3, all) == 'bar'
-          </para></listitem>
-          <listitem><para>
-            substring('foobar', 1, 4) == 'ooba'
-          </para></listitem>
-          <listitem><para>
-            substring('foobar', -5, 4) == 'ooba'
-          </para></listitem>
-          <listitem><para>
-            substring('foobar', -1, -4) == 'ooba'
-          </para></listitem>
-          <listitem><para>
-            substring('foobar', 5, -4) == 'ooba'
-          </para></listitem>
-          <listitem><para>
-            substring('foobar', 10, 2) == ''
-          </para></listitem>
-          </itemizedlist>
+            <screen>
+        substring('foobar', 0, 6) == 'foobar'
+        substring('foobar', 3, 3) == 'bar'
+        substring('foobar', 3, all) == 'bar'
+        substring('foobar', 1, 4) == 'ooba'
+        substring('foobar', -5, 4) == 'ooba'
+        substring('foobar', -1, -4) == 'ooba'
+        substring('foobar', 5, -4) == 'ooba'
+        substring('foobar', 10, 2) == ''
+            </screen>
         </section>
       </para>
     </section>