~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/string/help/pt_BR/strspn.xml

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 *
12
12
 -->
13
13
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="strspn" xml:lang="en">
14
 
  <refnamediv>
15
 
    <refname>strspn</refname>
16
 
    <refpurpose>retorna a extens�o do conjunto de caracteres no
17
 
      string
18
 
    </refpurpose>
19
 
  </refnamediv>
20
 
  <refsynopsisdiv>
21
 
    <title>Seq��ncia de Chamamento</title>
22
 
    <synopsis>res = strspn(str1,str2)</synopsis>
23
 
  </refsynopsisdiv>
24
 
  <refsection>
25
 
    <title>Par�metros</title>
26
 
    <variablelist>
27
 
      <varlistentry>
28
 
        <term>str1</term>
29
 
        <listitem>
30
 
          <para>string ou matriz de strings</para>
31
 
        </listitem>
32
 
      </varlistentry>
33
 
      <varlistentry>
34
 
        <term>str2</term>
35
 
        <listitem>
36
 
          <para>string ou matriz de strings</para>
37
 
        </listitem>
38
 
      </varlistentry>
39
 
      <varlistentry>
40
 
        <term>res</term>
41
 
        <listitem>
42
 
          <para>matriz</para>
43
 
        </listitem>
44
 
      </varlistentry>
45
 
    </variablelist>
46
 
  </refsection>
47
 
  <refsection>
48
 
    <title>Descri��o</title>
49
 
    <para>
50
 
      <literal>res = strspn(str1,str2)</literal> retorna o comprimento da
51
 
      por��o inicial de str1 que consiste apenas de caracteres que fazem parte
52
 
      de str2.
53
 
    </para>
54
 
    <para>str2 deve ter as mesmas dimens�es que str2, ou str1 pode ser um
55
 
      string.
56
 
    </para>
57
 
  </refsection>
58
 
  <refsection>
59
 
    <title>Exemplos</title>
60
 
    <programlisting role="example"><![CDATA[ 
 
14
    <refnamediv>
 
15
        <refname>strspn</refname>
 
16
        <refpurpose>retorna a extens�o do conjunto de caracteres no
 
17
            string
 
18
        </refpurpose>
 
19
    </refnamediv>
 
20
    <refsynopsisdiv>
 
21
        <title>Seq��ncia de Chamamento</title>
 
22
        <synopsis>res = strspn(str1,str2)</synopsis>
 
23
    </refsynopsisdiv>
 
24
    <refsection>
 
25
        <title>Par�metros</title>
 
26
        <variablelist>
 
27
            <varlistentry>
 
28
                <term>str1</term>
 
29
                <listitem>
 
30
                    <para>string ou matriz de strings</para>
 
31
                </listitem>
 
32
            </varlistentry>
 
33
            <varlistentry>
 
34
                <term>str2</term>
 
35
                <listitem>
 
36
                    <para>string ou matriz de strings</para>
 
37
                </listitem>
 
38
            </varlistentry>
 
39
            <varlistentry>
 
40
                <term>res</term>
 
41
                <listitem>
 
42
                    <para>matriz</para>
 
43
                </listitem>
 
44
            </varlistentry>
 
45
        </variablelist>
 
46
    </refsection>
 
47
    <refsection>
 
48
        <title>Descri��o</title>
 
49
        <para>
 
50
            <literal>res = strspn(str1,str2)</literal> retorna o comprimento da
 
51
            por��o inicial de str1 que consiste apenas de caracteres que fazem parte
 
52
            de str2.
 
53
        </para>
 
54
        <para>str2 deve ter as mesmas dimens�es que str2, ou str1 pode ser um
 
55
            string.
 
56
        </para>
 
57
    </refsection>
 
58
    <refsection>
 
59
        <title>Exemplos</title>
 
60
        <programlisting role="example"><![CDATA[ 
61
61
i = strspn("129o","1234567890");
62
62
mprintf ("O comprimento do numero inicial e %d.\n",i);
63
63
i = strspn(["129o","130o"],["1234567890","130o"])
64
64
 ]]></programlisting>
65
 
  </refsection>
66
 
  <refsection role="see also">
67
 
    <title>Ver Tamb�m</title>
68
 
    <simplelist type="inline">
69
 
      <member>
70
 
        <link linkend="strcspn">strcspn</link>
71
 
      </member>
72
 
    </simplelist>
73
 
  </refsection>
 
65
    </refsection>
 
66
    <refsection role="see also">
 
67
        <title>Ver Tamb�m</title>
 
68
        <simplelist type="inline">
 
69
            <member>
 
70
                <link linkend="strcspn">strcspn</link>
 
71
            </member>
 
72
        </simplelist>
 
73
    </refsection>
74
74
</refentry>