| 1 | |
| 2 | <section id="stringconvert"> |
| 3 | <title>String Conversion Opcodes</title> |
| 4 | <para>These opcodes convert string variables (note: most of the opcodes run at init time only, and have a version with a "k" suffix that runs at both init and performance time; exceptions to this rule include puts and strget):</para> |
| 5 | <itemizedlist> |
| 6 | <listitem><para> |
| 7 | <link linkend="strtod"><citetitle>strtod</citetitle></link> and <link linkend="strtodk"><citetitle>strtodk</citetitle></link> - Converts string value to a floating point value at i-rate.</para> |
| 8 | </listitem> |
| 9 | <listitem><para> |
| 10 | <link linkend="strtol"><citetitle>strtol</citetitle></link> and <link linkend="strtolk"><citetitle>strtolk</citetitle></link> - Converts string value to signed integer at i-rate.</para> |
| 11 | </listitem> |
| 12 | <listitem><para> |
| 13 | <link linkend="strchar"><citetitle>strchar</citetitle></link> and <link linkend="strchark"><citetitle>strchark</citetitle></link> - Returns the ASCII code of a character in a string.</para> |
| 14 | </listitem> |
| 15 | <listitem><para> |
| 16 | <link linkend="strlower"><citetitle>strlower</citetitle></link> and <link linkend="strlowerk"><citetitle>strlowerk</citetitle></link> - Converts a string to lower case.</para> |
| 17 | </listitem> |
| 18 | <listitem><para> |
| 19 | <link linkend="strupper"><citetitle>strupper</citetitle></link> and <link linkend="strupperk"><citetitle>strupperk</citetitle></link> - Converts a string to upper case.</para> |
| 20 | </listitem> |
| 21 | </itemizedlist> |
| 22 | </section> |