summaryrefslogtreecommitdiff
path: root/source/text/scalc/01/04060110.xhp
diff options
context:
space:
mode:
authorSteve Fanning <stevemfanning@yahoo.co.uk>2021-06-28 21:35:58 +0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2021-06-28 22:33:55 +0200
commit1f77c92e446c0b66656b82ae04862528d425a30e (patch)
tree9565f5d5eba75ff9cc183935b39b45e57d9fa51a /source/text/scalc/01/04060110.xhp
parent108566a12aa32429286de6f6129b63e2d3e27e94 (diff)
Fix minor typos in help examples for Calc's LEFTB function.
Change-Id: I5d8cdf1898f9b5823acc1e3381bbe3abb06551e3 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/118052 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/scalc/01/04060110.xhp')
-rw-r--r--source/text/scalc/01/04060110.xhp10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/text/scalc/01/04060110.xhp b/source/text/scalc/01/04060110.xhp
index 26d6abc9fe..4049249c38 100644
--- a/source/text/scalc/01/04060110.xhp
+++ b/source/text/scalc/01/04060110.xhp
@@ -392,11 +392,11 @@
<paragraph id="par_id2953152" role="paragraph" xml-lang="en-US"><emph>Number_bytes</emph> (optional) specifies the number of characters you want LEFTB to extract, based on bytes. If this parameter is not defined, one character is returned.</paragraph>
<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
-<paragraph id="par_id2949141" role="paragraph" xml-lang="en-US"><item type="input">LEFTB("中国";1)</item> returns " " (1 byte is only half a DBCS character and a space character is returned instead).</paragraph>
-<paragraph id="par_id2949151" role="paragraph" xml-lang="en-US"><item type="input">LEFTB("中国";2)</item> returns "中" (2 bytes constitute one complete DBCS character).</paragraph>
-<paragraph id="par_id2949161" role="paragraph" xml-lang="en-US"><item type="input">LEFTB("中国";3)</item> returns "中 " (3 bytes constitute one DBCS character and a half; the last character returned is therefore a space character).</paragraph>
-<paragraph id="par_id2949171" role="paragraph" xml-lang="en-US"><item type="input">LEFTB("中国";4)</item> returns "中国" (4 bytes constitute two complete DBCS characters).</paragraph>
-<paragraph id="par_id2949181" role="paragraph" xml-lang="en-US"><item type="input">LEFTB("office";3)</item> returns "off" (3 non-DBCS characters each consisting of 1 byte).</paragraph>
+<paragraph id="par_id2949141" role="paragraph" xml-lang="en-US"><item type="input">=LEFTB("中国";1)</item> returns " " (1 byte is only half a DBCS character and a space character is returned instead).</paragraph>
+<paragraph id="par_id2949151" role="paragraph" xml-lang="en-US"><item type="input">=LEFTB("中国";2)</item> returns "中" (2 bytes constitute one complete DBCS character).</paragraph>
+<paragraph id="par_id2949161" role="paragraph" xml-lang="en-US"><item type="input">=LEFTB("中国";3)</item> returns "中 " (3 bytes constitute one DBCS character and a half; the last character returned is therefore a space character).</paragraph>
+<paragraph id="par_id2949171" role="paragraph" xml-lang="en-US"><item type="input">=LEFTB("中国";4)</item> returns "中国" (4 bytes constitute two complete DBCS characters).</paragraph>
+<paragraph id="par_id2949181" role="paragraph" xml-lang="en-US"><item type="input">=LEFTB("office";3)</item> returns "off" (3 non-DBCS characters each consisting of 1 byte).</paragraph>
</section>
<section id="len">