Reverse.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
  4. <sect1 id="Reverse">
  5. <title>Reverse</title>
  6. <para><emphasis role="bold">STD.Str.Reverse<indexterm>
  7. <primary>STD.Str.Reverse</primary>
  8. </indexterm><indexterm>
  9. <primary>Str.Reverse</primary>
  10. </indexterm><indexterm>
  11. <primary>Reverse</primary>
  12. </indexterm>(</emphasis> <emphasis>source</emphasis> <emphasis
  13. role="bold">)</emphasis> <emphasis role="bold"></emphasis></para>
  14. <para><emphasis role="bold">STD.Uni.Reverse<indexterm>
  15. <primary>STD.Uni.Reverse</primary>
  16. </indexterm><indexterm>
  17. <primary>Uni.Reverse</primary>
  18. </indexterm>(</emphasis> <emphasis>source</emphasis> <emphasis
  19. role="bold">)</emphasis></para>
  20. <informaltable colsep="1" frame="all" rowsep="1">
  21. <tgroup cols="2">
  22. <colspec colwidth="80.50pt" />
  23. <colspec />
  24. <tbody>
  25. <row>
  26. <entry><emphasis>source</emphasis></entry>
  27. <entry>A string containing the data to reverse.</entry>
  28. </row>
  29. <row>
  30. <entry>Return:<emphasis> </emphasis></entry>
  31. <entry>Reverse returns a STRING or UNICODE value, as
  32. appropriate.</entry>
  33. </row>
  34. </tbody>
  35. </tgroup>
  36. </informaltable>
  37. <para>The <emphasis role="bold">Reverse </emphasis>functions return the
  38. <emphasis>source</emphasis> string with all characters in reverse
  39. order.</para>
  40. <para>Example:</para>
  41. <programlisting format="linespecific">A := STD.Str.Reverse('ABCDE'); //A contains 'EDCBA'
  42. </programlisting>
  43. </sect1>