Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions reference/intl/grapheme/grapheme-strripos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
The position returned is still relative to the beginning of <parameter>haystack</parameter>
regardless of the value of <parameter>offset</parameter>.
</para>
<para>
The optional offset parameter allows you to specify where in <parameter>haystack</parameter> to start searching as an <parameter>offset</parameter> in grapheme units (not bytes or characters). If the <parameter>offset</parameter> is negative, it is treated relative to the end of the string. The position returned is still relative to the beginning of <parameter>haystack</parameter> regardless of the value of offset. The search is performed right to left, searching for the first occurrence of <parameter>needle</parameter> from the selected grapheme cluster.
</para>
</listitem>
</varlistentry>
</variablelist>
Expand Down
3 changes: 3 additions & 0 deletions reference/intl/grapheme/grapheme-strrpos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
The position returned is still relative to the beginning of <parameter>haystack</parameter>
regardless of the value of <parameter>offset</parameter>.
</para>
<para>
The optional offset parameter allows you to specify where in <parameter>haystack</parameter> to start searching as an <parameter>offset</parameter> in grapheme units (not bytes or characters). If the <parameter>offset</parameter> is negative, it is treated relative to the end of the string. The position returned is still relative to the beginning of <parameter>haystack</parameter> regardless of the value of offset. The search is performed right to left, searching for the first occurrence of <parameter>needle</parameter> from the selected grapheme cluster.
</para>
</listitem>
</varlistentry>
</variablelist>
Expand Down