diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2017-09-14 12:34:17 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2017-09-14 17:38:04 +0200 |
commit | b4f3b5bbe19d8361492c023e3ca0ee53fc0ab9b0 (patch) | |
tree | 50870cfc7a7e7e3a876d6e3c2f22e020bea5e2e0 | |
parent | 42fbc7890755b7f6322be2fc2c7bc934d3c07b1e (diff) |
tdf#112391 Fix inStrRev in example of LO-Help
Change-Id: I3fad8e9ba3d30d9bf7ae42e6c753ee8677b012fd
Reviewed-on: https://gerrit.libreoffice.org/42286
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r-- | source/text/sbasic/shared/03120411.xhp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/text/sbasic/shared/03120411.xhp b/source/text/sbasic/shared/03120411.xhp index 0e1e7c004f..319e2f298c 100644 --- a/source/text/sbasic/shared/03120411.xhp +++ b/source/text/sbasic/shared/03120411.xhp @@ -61,9 +61,9 @@ <paragraph id="par_idm1341611120" role="bascode" localize="false" xml-lang="en-US">Dim sInput As String</paragraph> <paragraph id="par_idm1341609888" role="bascode" localize="false" xml-lang="en-US">Dim iPos As Integer</paragraph> <paragraph id="par_id3144760" role="bascode" xml-lang="en-US"> sInput = "The book is on the table"</paragraph> -<paragraph id="par_id3154125" role="bascode" xml-lang="en-US"> iPos = Instr(sInput,"the",10,1) ' Returns 1, search is case-insensitive</paragraph> +<paragraph id="par_id3154125" role="bascode" xml-lang="en-US"> iPos = InStrRev(sInput,"the",10,1) ' Returns 1, search is case-insensitive</paragraph> <paragraph id="par_idm1341605120" role="bascode" localize="false" xml-lang="en-US"> Print iPos </paragraph> -<paragraph id="par_id051920170322141162" role="bascode" xml-lang="en-US"> iPos = Instr(sInput,"the",10,0) ' Returns 0, search is case-sensitive</paragraph> +<paragraph id="par_id051920170322141162" role="bascode" xml-lang="en-US"> iPos = InStrRev(sInput,"the",10,0) ' Returns 0, search is case-sensitive</paragraph> <paragraph id="par_id051920170322458754" role="bascode" localize="false" xml-lang="en-US"> Print iPos</paragraph> <paragraph id="par_idm1341603888" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> </bascode> |