Gildas hace 2 años
padre
commit
b6c27aa766
Se han modificado 1 ficheros con 8 adiciones y 7 borrados
  1. 8 7
      src/ui/pages/help.html

+ 8 - 7
src/ui/pages/help.html

@@ -972,13 +972,14 @@
 						<code>count</code> times (e.g. "%repeat&lt;{page-title}|3&gt;" to repeat the page title 3
 						times).
 					</li>
-					<li><code>%index-of&lt;value|search&gt;</code>: returns the index of the first occurrence of
-						<code>search</code> in <code>value</code> (e.g. "%index-of&lt;{page-title}|&gt;" to return the
-						index of the first occurrence of the character "&gt;" in the page title).
-					</li>
-					<li><code>%last-index-of&lt;value|search&gt;</code>: returns the index of the last occurrence of
-						<code>search</code> in <code>value</code> (e.g. "%last-index-of&lt;{page-title}|&gt;" to return
-						the index of the last occurrence of the character "&gt;" in the page title).
+					<li><code>%index-of&lt;value|search|fromIndex&gt;</code>: returns the index of the first occurrence
+						of <code>search</code> in <code>value</code> (e.g. "%index-of&lt;{page-title}|"Title"&gt;" to
+						return the index of the first occurrence of the string "Title" in <code>page-title</code>).
+					</li>
+					<li><code>%last-index-of&lt;value|search|fromIndex&gt;</code>: returns the index of the last
+						occurrence of <code>search</code> in <code>value</code> (e.g.
+						"%last-index-of&lt;{page-title}|"Title"&gt;" to return the index of the last occurrence of the
+						string "Title" in <code>page-title</code>).
 					</li>
 					<li><code>%length&lt;value&gt;</code>: returns the length of the <code>value</code> (e.g.
 						"%length&lt;{page-title}&gt;" to return the length of the page title).