Skip to content

Commit

Permalink
Update strings
Browse files Browse the repository at this point in the history
  • Loading branch information
mowangjuanzi committed Oct 11, 2023
1 parent 1a58d42 commit 9efd777
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion reference/strings/functions/crypt.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: cc88cbd3303ca3342dcdcd643eae793e564730c7 Maintainer: mowangjuanzi Status: ready -->
<!-- EN-Revision: 60b29fbe11384d5233398d70fdc74e9078fe32ad Maintainer: mowangjuanzi Status: ready -->
<!-- CREDITS: Luffy -->
<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.crypt">
<refnamediv>
Expand Down
8 changes: 4 additions & 4 deletions reference/strings/functions/strrpos.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 71b1e926631d5f5bec9b2e2685553453349ae799 Maintainer: HonestQiao Status: ready -->
<!-- EN-Revision: 2eb2cdbe58d2f35cb88ad06fa090f3c0ccd9f860 Maintainer: HonestQiao Status: ready -->
<!-- CREDITS: mowangjuanzi, Luffy -->
<refentry xml:id="function.strrpos" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -50,12 +50,12 @@
<parameter>offset</parameter> 个字节。
</para>
<para>
如果为负数,则从右向左执行搜索,跳过 <parameter>haystack</parameter> 的最后
<parameter>offset</parameter> 个字节并搜索首次出现的 <parameter>needle</parameter>。
如果为负数,搜索从右侧 <parameter>offset</parameter> 个字节开始,而不是从开头 <parameter>haystack</parameter>
个字节开始。搜索从右往左进行,从所选字节中搜索第一个出现的 <parameter>needle</parameter>。
<note>
<para>
这实际是在最后 <parameter>offset</parameter> 个字节之前寻找最后出现的
<parameter>needle</parameter>。
<parameter>needle</parameter> 的位置
</para>
</note>
</para>
Expand Down

0 comments on commit 9efd777

Please sign in to comment.