the term "text" was abusively used instead of "string".
Change-Id: I85d764fcd6250815acdef55bbcf7432c8a7a04e4
xmlns:db="http://docbook.org/ns/docbook" xml:lang="en" xml:id="justify">
<refnamediv>
<refname>justify</refname>
- <refpurpose>aligns texts in columns to the left, center, or right</refpurpose>
+ <refpurpose>aligns strings in columns to the left, center, or right</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Syntax</title>
- <synopsis>Tj = justify(T, position)</synopsis>
+ <synopsis>Tj = justify(S, position)</synopsis>
</refsynopsisdiv>
<refsection>
<title>Arguments</title>
<variablelist>
<varlistentry>
- <term>T</term>
+ <term>S</term>
<listitem>
<para>a matrix of character strings.</para>
</listitem>
</varlistentry>
<varlistentry>
- <term>Tj</term>
+ <term>Sj</term>
<listitem>
<para>
a matrix of character strings. The justified result.
xml:id="length" xml:lang="en">
<refnamediv>
<refname>length</refname>
- <refpurpose>Number of characters of a text. Number of elements of an array or list.</refpurpose>
+ <refpurpose>Number of characters of a string. Number of elements of an array or list.</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Syntax</title>
<itemizedlist>
<listitem>
Supported types: booleans, encoded integers, real or complex numbers,
- polynomials and rationals with real or complex coefficients, texts,
+ polynomials and rationals with real or complex coefficients, strings,
cells, linear dynamical systems (as generated with syslin()),
other Tlists.
</listitem>
]]></programlisting>
<para/>
<para>
- Please note that for text input, the protection needed for some special LaTeX characters
+ Please note that for string input, the protection needed for some special LaTeX characters
is displayed as is by MathJax:
</para>
<inlinemediaobject>
<refnamediv>
<refname>strcspn</refname>
<refpurpose>
- lengths from the beginning of texts until a character among those prohibited
+ lengths from the beginning of strings until a character among those prohibited
</refpurpose>
</refnamediv>
<refsynopsisdiv>
xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="strncpy">
<refnamediv>
<refname>strncpy</refname>
- <refpurpose>gets and gives the N first characters of the given texts</refpurpose>
+ <refpurpose>gets and gives the N first characters of the given strings</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Syntax</title>
<refnamediv>
<refname>strrev</refname>
<refpurpose>
- Reverses the order of characters in the given texts
+ Reverses the order of characters in the given strings
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<refnamediv>
<refname>strspn</refname>
<refpurpose>
- lengths of the beginning of texts as long as characters are among those allowed
+ lengths of the beginning of strings as long as characters are among those allowed
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Syntax</title>
- <synopsis>headsLengths = strspn(Texts, allowedChars)</synopsis>
+ <synopsis>headsLengths = strspn(Strings, allowedChars)</synopsis>
</refsynopsisdiv>
<refsection>
<title>Arguments</title>
<variablelist>
<varlistentry>
- <term>Texts, allowedChars, headsLengths</term>
+ <term>Strings, allowedChars, headsLengths</term>
<listitem>
<para>
- Matrices of texts, of identical dimensions.
+ Matrices of strings, of identical dimensions.
<varname>allowedChars</varname> can be a scalar string.
- It is then used for all <varname>Texts</varname> components.
+ It is then used for all <varname>Strings</varname> components.
</para>
</listitem>
</varlistentry>
<refsection>
<title>Description</title>
<para>
- <literal>headsLengths = strspn(Texts, allowedChars)</literal> returns the length of the initial
- portion of <varname>Texts</varname> which consists only of characters that are part of
+ <literal>headsLengths = strspn(Strings, allowedChars)</literal> returns the length of the initial
+ portion of <varname>Strings</varname> which consists only of characters that are part of
<varname>allowedChars</varname>.
</para>
</refsection>
<refnamediv>
<refname>strstr</refname>
<refpurpose>
- Tail of a text starting from the 1st occurrrence of a given fragment
+ Tail of a string starting from the 1st occurrrence of a given fragment
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Syntax</title>
- <synopsis>Tail = strstr(Text, StartingFragment)</synopsis>
+ <synopsis>Tail = strstr(Strings, StartingFragment)</synopsis>
</refsynopsisdiv>
<refsection>
<title>Arguments</title>
<variablelist>
<varlistentry>
- <term>Text, StartingFragment, Tail</term>
+ <term>Strings, StartingFragment, Tail</term>
<listitem>
<para>
- Matrices of texts, of identical dimensions.
- <varname>StartingFragments</varname> can be a single text. It is then used
- for all <varname>Texts</varname> components.
+ Matrices of strings, of identical dimensions.
+ <varname>StartingFragments</varname> can be a single string. It is then used
+ for all <varname>Strings</varname> components.
</para>
</listitem>
</varlistentry>
<refsection>
<title>Description</title>
<para>
- <literal>Tail = strstr(Text, StartingFragment)</literal> builds and returns a matrix
- of texts such that, for each element <literal>Text(i)</literal>, <literal>Tail(i)</literal>
- is the part of <literal>Text(i)</literal> starting from the first occurrence of
- <literal>startingFragment(i)</literal>, up to the end of <literal>Text(i)</literal>.
+ <literal>Tail = strstr(Strings, StartingFragment)</literal> builds and returns a matrix
+ of strings such that, for each element <literal>Strings(i)</literal>, <literal>Tail(i)</literal>
+ is the part of <literal>Strings(i)</literal> starting from the first occurrence of
+ <literal>startingFragment(i)</literal>, up to the end of <literal>Strings(i)</literal>.
</para>
<para>
- If <varname>StartingFragment(i)</varname> is not found in <literal>Text(i)</literal>,
+ If <varname>StartingFragment(i)</varname> is not found in <literal>Strings(i)</literal>,
<literal>Tail(i)</literal> is set to <literal>""</literal>.
</para>
</refsection>
<refsynopsisdiv>
<title>Syntax</title>
<synopsis>
- [d, tails] = strtod(str)
- [d, tails] = strtod(str, decimalseparator)
+ d = strtod(str [,decimalseparator])
+ [d, tails] = strtod(str [,decimalseparator])
</synopsis>
</refsynopsisdiv>
<refsection role="arguments">
<term>str</term>
<listitem>
<para>
- single component, vector, or matrix of text (strings).
+ single component, vector, or matrix of strings.
</para>
</listitem>
</varlistentry>
<refnamediv>
<refname>tokens</refname>
<refpurpose>
- Splits a text using separators and gives its chunks
+ Splits a string using separators and gives its chunks
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Syntax</title>
<synopsis>
- Chunks = tokens(text)
- Chunks = tokens(text, separators)
+ Chunks = tokens(str)
+ Chunks = tokens(str, separators)
</synopsis>
</refsynopsisdiv>
<refsection>
<title>Arguments</title>
<variablelist>
<varlistentry>
- <term>text</term>
+ <term>str</term>
<listitem>
- A single text to be split. It can include extended UTF-8 international characters.
+ A single string to be split. It can include extended UTF-8 international characters.
<para/>
</listitem>
</varlistentry>
<varlistentry>
<term>Chunks</term>
<listitem>
- Column vector: Pieces of the split text.
+ Column vector: Pieces of the split string.
<para/>
</listitem>
</varlistentry>
<refsection>
<title>Description</title>
<para>
- <literal>tokens(…)</literal> searches the text for given separator(s),
+ <literal>tokens(…)</literal> searches the string for given separator(s),
and splits it into chunks. Chunks are free of separators.
Consecutive separators are merged.
</para>
xmlns:scilab="http://www.scilab.org" xml:id="strtod" xml:lang="fr">
<refnamediv>
<refname>strtod</refname>
- <refpurpose>convertit chaque nombre décimal littéral (texte) en sa valeur numérique</refpurpose>
+ <refpurpose>convertit chaque nombre décimal littéral (chaine de caractères) en sa valeur numérique</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Syntaxe</title>
<synopsis>
- [d, tails] = strtod(str)
- [d, tails] = strtod(str, decimalseparator)
+ d = strtod(str [,decimalseparator])
+ [d, tails] = strtod(str [,decimalseparator])
</synopsis>
</refsynopsisdiv>
<refsection role="arguments">
<term>str</term>
<listitem>
<para>
- texte unique, ou vecteur ou matrice de textes.
+ chaine de caractères, ou vecteur ou matrice de chaines de caractères.
</para>
</listitem>
</varlistentry>
<term>tails</term>
<listitem>
<para>
- matrice texte de taille identique à celle de
+ matrice de chaines de caractères identique à celle de
<varname>str</varname> : <literal>tails(i)</literal> est
la fin (éventuelle) de <literal>str(i)</literal> non prise
en compte pour établir <literal>d(i)</literal>, ou "" par