Commit ffb69471 authored by Shawn Routhier's avatar Shawn Routhier
Browse files

[trac4101] Move the substring examples into a screen

parent 4f0fc2f4
......@@ -213,32 +213,16 @@
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>
<screen>
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>
</section>
</para>
</section>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment