12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
- "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
- <sect1 id="ExcludeFirstWord">
- <title>ExcludeFirstWord</title>
- <para><emphasis role="bold">STD.Str.ExcludeFirstWord<indexterm>
- <primary>STD.Str.ExcludeFirstWord</primary>
- </indexterm><indexterm>
- <primary>Str.ExcludeFirstWord</primary>
- </indexterm><indexterm>
- <primary>ExcludeFirstWord</primary>
- </indexterm>(</emphasis> <emphasis>text</emphasis> <emphasis
- role="bold">)</emphasis></para>
- <informaltable colsep="1" frame="all" rowsep="1">
- <tgroup cols="2">
- <colspec colwidth="80.50pt" />
- <colspec />
- <tbody>
- <row>
- <entry><emphasis>text</emphasis></entry>
- <entry>A string containing words separated by whitespace.</entry>
- </row>
- <row>
- <entry>Return:</entry>
- <entry>ExcludeFirstWord returns a STRING value.</entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable>
- <para>The <emphasis role="bold">ExcludeFirstWord </emphasis>function returns
- the <emphasis>text</emphasis> string with the first word removed. Words are
- separated by one or more whitespace characters. Whitespace before the first
- word is also removed.</para>
- <para>Example:</para>
- <programlisting format="linespecific">A := STD.Str.ExcludeFirstWord('The quick brown fox');
- //A contains 'quick brown fox'
- </programlisting>
- </sect1>
|