summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AllLangHelp_sbasic.mk1
-rw-r--r--source/auxiliary/sbasic.tree23
-rw-r--r--source/text/sbasic/shared/01020100.xhp13
-rw-r--r--source/text/sbasic/shared/03060000.xhp12
-rw-r--r--source/text/sbasic/shared/03070000.xhp12
-rw-r--r--source/text/sbasic/shared/03070700.xhp64
-rw-r--r--source/text/sbasic/shared/03110100.xhp55
-rw-r--r--source/text/sbasic/shared/03120300.xhp16
8 files changed, 144 insertions, 52 deletions
diff --git a/AllLangHelp_sbasic.mk b/AllLangHelp_sbasic.mk
index 1c921a60da..e3c220a6eb 100644
--- a/AllLangHelp_sbasic.mk
+++ b/AllLangHelp_sbasic.mk
@@ -208,6 +208,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,sbasic,\
helpcontent2/source/text/sbasic/shared/03070400 \
helpcontent2/source/text/sbasic/shared/03070500 \
helpcontent2/source/text/sbasic/shared/03070600 \
+ helpcontent2/source/text/sbasic/shared/03070700 \
helpcontent2/source/text/sbasic/shared/03080000 \
helpcontent2/source/text/sbasic/shared/03080100 \
helpcontent2/source/text/sbasic/shared/03080101 \
diff --git a/source/auxiliary/sbasic.tree b/source/auxiliary/sbasic.tree
index 5f9a653dbc..f7bc15c494 100644
--- a/source/auxiliary/sbasic.tree
+++ b/source/auxiliary/sbasic.tree
@@ -135,7 +135,6 @@
<topic id="sbasic/text/sbasic/shared/03102100.xhp">Dim Statement</topic>
<topic id="sbasic/text/sbasic/shared/03020404.xhp">Dir Function</topic>
<topic id="sbasic/text/sbasic/shared/03090201.xhp">Do...Loop Statement</topic>
- <topic id="sbasic/text/sbasic/shared/03110100.xhp">Comparison Operators</topic>
<topic id="sbasic/text/sbasic/shared/03090404.xhp">End Statement</topic>
<topic id="sbasic/text/sbasic/shared/enum.xhp">Enum Statement [VBA]</topic>
<topic id="sbasic/text/sbasic/shared/03130800.xhp">Environ Function</topic>
@@ -186,7 +185,7 @@
<topic id="sbasic/text/sbasic/shared/03030201.xhp">Hour Function</topic>
<topic id="sbasic/text/sbasic/shared/03090103.xhp">IIf Function</topic>
<topic id="sbasic/text/sbasic/shared/03090101.xhp">If...Then...Else Statement</topic>
- <topic id="sbasic/text/sbasic/shared/03060300.xhp">Imp-Operator</topic>
+ <topic id="sbasic/text/sbasic/shared/03060300.xhp">Imp Operator</topic>
<topic id="sbasic/text/sbasic/shared/03120401.xhp">InStr Function</topic>
<topic id="sbasic/text/sbasic/shared/03120411.xhp">InStrRev Function [VBA]</topic>
<topic id="sbasic/text/sbasic/shared/03160000.xhp">Input Function [VBA]</topic>
@@ -222,14 +221,14 @@
<topic id="sbasic/text/sbasic/shared/03030202.xhp">Minute Function</topic>
<topic id="sbasic/text/sbasic/shared/03140004.xhp">MIRR Function [VBA]</topic>
<topic id="sbasic/text/sbasic/shared/03020411.xhp">MkDir Statement</topic>
- <topic id="sbasic/text/sbasic/shared/03070600.xhp">Mod-Operator</topic>
+ <topic id="sbasic/text/sbasic/shared/03070600.xhp">Mod Operator</topic>
<topic id="sbasic/text/sbasic/shared/03030104.xhp">Month Function</topic>
<topic id="sbasic/text/sbasic/shared/03150002.xhp">MonthName Function [VBA]</topic>
<topic id="sbasic/text/sbasic/shared/03010102.xhp">MsgBox Function</topic>
<topic id="sbasic/text/sbasic/shared/03010101.xhp">MsgBox Statement</topic>
<topic id="sbasic/text/sbasic/shared/03020412.xhp">Name Statement</topic>
- <topic id="sbasic/text/sbasic/shared/new_keyword.xhp">New Operator</topic>
- <topic id="sbasic/text/sbasic/shared/03060400.xhp">Not-Operator</topic>
+ <topic id="sbasic/text/sbasic/shared/new_keyword.xhp">New keyword</topic>
+ <topic id="sbasic/text/sbasic/shared/03060400.xhp">Not Operator</topic>
<topic id="sbasic/text/sbasic/shared/03030203.xhp">Now Function</topic>
<topic id="sbasic/text/sbasic/shared/03140005.xhp">NPer Function [VBA]</topic>
<topic id="sbasic/text/sbasic/shared/03140006.xhp">NPV Function [VBA]</topic>
@@ -320,11 +319,15 @@
<topic id="sbasic/text/sbasic/shared/03020205.xhp">Write Statement</topic>
<topic id="sbasic/text/sbasic/shared/03060600.xhp">Xor Operator</topic>
<topic id="sbasic/text/sbasic/shared/03030106.xhp">Year Function</topic>
- <topic id="sbasic/text/sbasic/shared/03070100.xhp">"-" Operator</topic>
- <topic id="sbasic/text/sbasic/shared/03070200.xhp">"*" Operator</topic>
- <topic id="sbasic/text/sbasic/shared/03070300.xhp">"+" Operator</topic>
- <topic id="sbasic/text/sbasic/shared/03070400.xhp">"/" Operator</topic>
- <topic id="sbasic/text/sbasic/shared/03070500.xhp">"^" Operator</topic>
+ <topic id="sbasic/text/sbasic/shared/03070100.xhp">"-" Subtraction Operator</topic>
+ <topic id="sbasic/text/sbasic/shared/03070200.xhp">"*" Multiplication Operator</topic>
+ <topic id="sbasic/text/sbasic/shared/03070300.xhp">"+" Addition Operator</topic>
+ <topic id="sbasic/text/sbasic/shared/03070400.xhp">"/" Division Operator</topic>
+ <topic id="sbasic/text/sbasic/shared/03070700.xhp">"\" Integer Division Operator</topic>
+ <topic id="sbasic/text/sbasic/shared/03070500.xhp">"^" Exponentation Operator</topic>
+ <topic id="sbasic/text/sbasic/shared/03120300.xhp">"&amp; or +" Concatenation Operators</topic>
+ <topic id="sbasic/text/sbasic/shared/01020100.xhp">"&amp;" Hexadecimal/Octal Notation</topic>
+ <topic id="sbasic/text/sbasic/shared/conventions.xhp">":" Statement Separator</topic>
</node>
<node id="07010205" title="Advanced Basic Libraries">
<topic id="sbasic/text/sbasic/shared/03/lib_tools.xhp">Tools Library</topic>
diff --git a/source/text/sbasic/shared/01020100.xhp b/source/text/sbasic/shared/01020100.xhp
index e4c13acce0..b552d3db34 100644
--- a/source/text/sbasic/shared/01020100.xhp
+++ b/source/text/sbasic/shared/01020100.xhp
@@ -36,12 +36,8 @@
<bookmark_value>values;of variables</bookmark_value>
<bookmark_value>literals;date</bookmark_value>
<bookmark_value>literals;integer</bookmark_value>
- <bookmark_value>literals;hexadecimal</bookmark_value>
<bookmark_value>literals;integer</bookmark_value>
- <bookmark_value>literals;octal</bookmark_value>
- <bookmark_value>literals;&amp;h notation</bookmark_value>
- <bookmark_value>literals;&amp;o notation</bookmark_value>
- <bookmark_value>literals;floating-point</bookmark_value>
+ <bookmark_value>literals;floating point</bookmark_value>
<bookmark_value>constants</bookmark_value>
<bookmark_value>arrays;declaring</bookmark_value>
<bookmark_value>defining;constants</bookmark_value>
@@ -186,6 +182,13 @@
<paragraph id="par_idm1341092144" role="bascode" localize="false" xml-lang="en-US">Dim Variable As Date</paragraph>
</bascode>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150669">
+ <bookmark_value>ampersand symbol; in literal notation</bookmark_value>
+ <bookmark_value>literals;hexadecimal</bookmark_value>
+ <bookmark_value>literals;octal</bookmark_value>
+ <bookmark_value>literals;&amp;h notation</bookmark_value>
+ <bookmark_value>literals;&amp;o notation</bookmark_value>
+</bookmark>
<h3 id="hd_DateLiterals">Literals for Dates</h3>
<section id="DateLiterals">
<paragraph role="paragraph" id="par_id151616083357363">Date literals allow to specify unambiguous date variables that are independent from the current language. Literals are enclosed between hash signs <literal>#</literal>. Possible formats are:</paragraph>
diff --git a/source/text/sbasic/shared/03060000.xhp b/source/text/sbasic/shared/03060000.xhp
index 18b196b223..2f67ded5d8 100644
--- a/source/text/sbasic/shared/03060000.xhp
+++ b/source/text/sbasic/shared/03060000.xhp
@@ -30,12 +30,12 @@
</history>
</meta>
<body>
-
-
+
<section id="logi">
- <paragraph id="hd_id3147559" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03060000.xhp" name="Logical Operators">Logical Operators</link></paragraph>
+ <h1 id="hd_id3147559"><variable id="BoolOper_h1"><link href="text/sbasic/shared/03060000.xhp" name="Logical Operators">Logical Operators</link></variable></h1>
<paragraph role="paragraph" id="par_id3153379" xml-lang="en-US">The following logical operators are supported by $[officename] Basic.</paragraph>
</section>
+
<paragraph role="paragraph" id="par_id3154138" xml-lang="en-US">Logical operators combine (bitwise) the contents of two expressions or variables, for example, to test if specific bits are set or not.</paragraph>
<embed href="text/sbasic/shared/03060100.xhp#and"/>
<embed href="text/sbasic/shared/03060200.xhp#eqv"/>
@@ -43,5 +43,11 @@
<embed href="text/sbasic/shared/03060400.xhp#not"/>
<embed href="text/sbasic/shared/03060500.xhp#or"/>
<embed href="text/sbasic/shared/03060600.xhp#xor"/>
+
+ <section id="relatedtopics">
+ <embed href="text/sbasic/shared/03070000.xhp#MathOper_h1"/>
+ <embed href="text/sbasic/shared/03110100.xhp#CompOper_h1"/>
+ </section>
+
</body>
</helpdocument>
diff --git a/source/text/sbasic/shared/03070000.xhp b/source/text/sbasic/shared/03070000.xhp
index b78baf68a9..5b9919cb4f 100644
--- a/source/text/sbasic/shared/03070000.xhp
+++ b/source/text/sbasic/shared/03070000.xhp
@@ -30,10 +30,9 @@
</history>
</meta>
<body>
-
-
+
<section id="math">
- <paragraph id="hd_id3149234" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03070000.xhp" name="Mathematical Operators">Mathematical Operators</link></paragraph>
+ <h1 id="hd_id3149234"><variable id="MathOper_h1"><link href="text/sbasic/shared/03070000.xhp" name="Mathematical Operators">Mathematical Operators</link></variable></h1>
<paragraph role="paragraph" id="par_id3145068" xml-lang="en-US">The following mathematical operators are supported in $[officename] Basic.</paragraph>
</section>
<paragraph role="paragraph" id="par_id3148552" xml-lang="en-US">This chapter provides a short overview of all of the arithmetical operators that you may need for calculations within a program.</paragraph>
@@ -41,7 +40,14 @@
<embed href="text/sbasic/shared/03070200.xhp#multiplikation"/>
<embed href="text/sbasic/shared/03070300.xhp#addition"/>
<embed href="text/sbasic/shared/03070400.xhp#division"/>
+ <embed href="text/sbasic/shared/03070700.xhp#IntegerDivision"/>
<embed href="text/sbasic/shared/03070500.xhp#power"/>
<embed href="text/sbasic/shared/03070600.xhp#mod"/>
+
+ <section id="relatedtopics">
+ <embed href="text/sbasic/shared/03060000.xhp#BoolOper_h1"/>
+ <embed href="text/sbasic/shared/03110100.xhp#CompOper_h1"/>
+ </section>
+
</body>
</helpdocument>
diff --git a/source/text/sbasic/shared/03070700.xhp b/source/text/sbasic/shared/03070700.xhp
new file mode 100644
index 0000000000..6ab624eaaa
--- /dev/null
+++ b/source/text/sbasic/shared/03070700.xhp
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+-->
+
+<meta>
+ <topic id="textsbasicshared03070700xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">"\" Operator</title>
+ <filename>/text/sbasic/shared/03070700.xhp</filename>
+ </topic>
+</meta>
+
+<body>
+
+<section id="IntegerDivision">
+<h1 id="hd_id3150669"><link href="text/sbasic/shared/03070700.xhp">"\" Operator</link></h1>
+<paragraph id="par_id3149670" role="paragraph" xml-lang="en-US">Performs the integer division on two numbers and returns the result.</paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150669">
+ <bookmark_value>Operators;Integer division (\)</bookmark_value>
+ <bookmark_value>"\" operator (mathematical)</bookmark_value>
+</bookmark>
+<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
+<bascode>
+ <paragraph id="par_id3153360" role="bascode" xml-lang="en-US">result = expression1 \ expression2 </paragraph>
+</bascode>
+
+<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
+<paragraph id="par_id3154141" role="paragraph" xml-lang="en-US"> <emph>result</emph>: A numerical value that contains the result of the integer division.</paragraph>
+<paragraph id="par_id3150448" role="paragraph"> <emph>expression1, expression2</emph>: Dividend and diviser operands of the integer division.</paragraph>
+<paragraph role="paragraph" id="par_id951642689912087">Before integer division, both operands are rounded to the nearest integer down. The fractional part of the result is dropped.</paragraph>
+
+<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
+<bascode>
+<paragraph id="par_idm1341473008" role="bascode" localize="false">Sub IntegerDivision</paragraph>
+<paragraph id="par_idm1341471776" role="bascode" xml-lang="en-US"> Print 15 / 4 ' prints 3.75</paragraph>
+<paragraph id="par_idm1341471777" role="bascode" xml-lang="en-US"> Print -15 \ 4 ' prints -3</paragraph>
+<paragraph id="par_idm1341471778" role="bascode" xml-lang="en-US"> Print 16.9 / 5.6 ' prints 3.017857114</paragraph>
+<paragraph id="par_idm1341471779" role="bascode" xml-lang="en-US"> Print 16.9 \ -5.6 ' prints -3</paragraph>
+<paragraph id="par_idm1341470544" role="bascode" localize="false">End Sub</paragraph>
+</bascode>
+
+<section id="relatedtopics">
+ <embed href="text/sbasic/shared/03070600.xhp#MOD_h1"/>
+ <embed href="text/sbasic/shared/03070000.xhp#MathOper_h1"/>
+</section>
+
+</body>
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03110100.xhp b/source/text/sbasic/shared/03110100.xhp
index f6af459756..f3e34cd3d3 100644
--- a/source/text/sbasic/shared/03110100.xhp
+++ b/source/text/sbasic/shared/03110100.xhp
@@ -27,26 +27,30 @@
<body>
-
<section id="operators">
<bookmark xml-lang="en-US" branch="index" id="bm_id3150682">
<bookmark_value>comparison operators;%PRODUCTNAME Basic</bookmark_value>
- <bookmark_value>operators;comparisons</bookmark_value>
+ <bookmark_value>Operators;comparison</bookmark_value>
+ <bookmark_value>Operators;equal sign (=)</bookmark_value>
+ <bookmark_value>Operators;greater than (&gt;)</bookmark_value>
+ <bookmark_value>Operators;greater than or equal to (&gt;=)</bookmark_value>
+ <bookmark_value>Operators;less than (&lt;&gt;)</bookmark_value>
+ <bookmark_value>Operators;less than or equal to (&lt;=)</bookmark_value>
+ <bookmark_value>Operators;not equal to (&lt;&gt;)</bookmark_value>
</bookmark>
-
-<paragraph id="hd_id3150682" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03110100.xhp" name="Comparison Operators">Comparison Operators</link></paragraph>
-<paragraph id="par_id3156042" role="paragraph" xml-lang="en-US">Comparison operators compare two expressions. The result is returned as a Boolean expression that determines if the comparison is True (-1) or False (0).</paragraph>
+<h1 id="hd_id3150682"><variable id="CompOper_h1"><link href="text/sbasic/shared/03110100.xhp" name="Comparison Operators">Comparison Operators</link></variable></h1>
+<paragraph id="par_id3156042" role="paragraph" xml-lang="en-US">Comparison operators compare two expressions. The result is returned as a boolean expression that determines if the comparison is <literal>True</literal> (-1) or <literal>False</literal> (0).</paragraph>
</section>
-<paragraph id="hd_id3147291" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
<bascode>
-<paragraph id="par_id3149177" role="bascode" xml-lang="en-US">Result = Expression1 { = | &lt; | &gt; | &lt;= | &gt;= } Expression2</paragraph>
+ <paragraph id="par_id3149177" role="bascode" localize="false">result = expression1 { = | &lt; | &gt; | &lt;= | &gt;= } expression2</paragraph>
</bascode>
-<paragraph id="hd_id3145316" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
-<paragraph id="par_id3147573" role="paragraph" xml-lang="en-US"> <emph>Result:</emph> Boolean expression that specifies the result of the comparison (True, or False)</paragraph>
-<paragraph id="par_id3148686" role="paragraph" xml-lang="en-US"> <emph>Expression1, Expression2:</emph> Any numeric values or strings that you want to compare.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
+<paragraph id="par_id3147573" role="paragraph" xml-lang="en-US"> <emph>result</emph>: Boolean that specifies the result of the comparison (<literal>True</literal>, or <literal>False</literal>)</paragraph>
+<paragraph id="par_id3148686" role="paragraph" xml-lang="en-US"> <emph>expression1, expression2</emph>: Any numeric values or strings that you want to compare.</paragraph>
<paragraph id="hd_id3147531" role="heading" level="2" xml-lang="en-US">Comparison operators</paragraph>
<paragraph id="par_id3147265" role="paragraph" xml-lang="en-US">= : Equal to</paragraph>
@@ -56,21 +60,26 @@
<paragraph id="par_id3150400" role="paragraph" xml-lang="en-US">&gt;= : Greater than or equal to</paragraph>
<paragraph id="par_id3148797" role="paragraph" xml-lang="en-US">&lt;&gt; : Not equal to</paragraph>
-<paragraph id="hd_id3154686" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<bascode>
-<paragraph id="par_idm1341075248" role="bascode" localize="false" xml-lang="en-US">Sub ExampleUnequal</paragraph>
-<paragraph id="par_idm1341074016" role="bascode" localize="false" xml-lang="en-US">Dim sFile As String</paragraph>
+<paragraph id="par_idm1341075248" role="bascode" localize="false">Sub ExampleUnequal</paragraph>
+<paragraph id="par_idm1341074016" role="bascode" localize="false">Dim sFile As String</paragraph>
<paragraph id="par_id3154909" role="bascode" xml-lang="en-US">Dim sRoot As String ' Root directory for file in and output</paragraph>
-<paragraph id="par_idm1341071024" role="bascode" localize="false" xml-lang="en-US"> sRoot = "c:\"</paragraph>
-<paragraph id="par_idm1341069792" role="bascode" localize="false" xml-lang="en-US"> sFile = Dir$( sRoot ,22)</paragraph>
-<paragraph id="par_idm1341068544" role="bascode" localize="false" xml-lang="en-US"> If sFile &lt;&gt; "" Then</paragraph>
-<paragraph id="par_idm1341067296" role="bascode" localize="false" xml-lang="en-US"> Do</paragraph>
-<paragraph id="par_idm1341066064" role="bascode" localize="false" xml-lang="en-US"> MsgBox sFile</paragraph>
-<paragraph id="par_idm1341064816" role="bascode" localize="false" xml-lang="en-US"> sFile = Dir$</paragraph>
-<paragraph id="par_idm1341063568" role="bascode" localize="false" xml-lang="en-US"> Loop Until sFile = ""</paragraph>
-<paragraph id="par_idm1341062320" role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
-<paragraph id="par_idm1341061088" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341071024" role="bascode" localize="false"> sRoot = "c:\"</paragraph>
+<paragraph id="par_idm1341069792" role="bascode" localize="false"> sFile = Dir$( sRoot ,22)</paragraph>
+<paragraph id="par_idm1341068544" role="bascode" localize="false"> If sFile &lt;&gt; "" Then</paragraph>
+<paragraph id="par_idm1341067296" role="bascode" localize="false"> Do</paragraph>
+<paragraph id="par_idm1341066064" role="bascode" localize="false"> MsgBox sFile</paragraph>
+<paragraph id="par_idm1341064816" role="bascode" localize="false"> sFile = Dir$</paragraph>
+<paragraph id="par_idm1341063568" role="bascode" localize="false"> Loop Until sFile = ""</paragraph>
+<paragraph id="par_idm1341062320" role="bascode" localize="false"> End If</paragraph>
+<paragraph id="par_idm1341061088" role="bascode" localize="false">End Sub</paragraph>
</bascode>
-</body>
+<section id="relatedtopics">
+ <embed href="text/sbasic/shared/03070000.xhp#MathOper_h1"/>
+ <embed href="text/sbasic/shared/03060000.xhp#BoolOper_h1"/>
+</section>
+
+</body>
</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03120300.xhp b/source/text/sbasic/shared/03120300.xhp
index 024dbd09f6..cc9697f299 100644
--- a/source/text/sbasic/shared/03120300.xhp
+++ b/source/text/sbasic/shared/03120300.xhp
@@ -1,7 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-
-
-
<!--
* This file is part of the LibreOffice project.
*
@@ -20,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
-
- <helpdocument version="1.0">
+<helpdocument version="1.0">
<meta>
<topic id="textsbasicshared03120300xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Editing String Contents</title>
@@ -30,9 +26,13 @@
</meta>
<body>
<section id="manipu">
-<bookmark xml-lang="en-US" branch="index" id="bm_id7499008"><bookmark_value>ampersand symbol in StarBasic</bookmark_value>
-</bookmark><paragraph role="heading" id="hd_id3153894" xml-lang="en-US" level="1"><link href="text/sbasic/shared/03120300.xhp" name="Editing String Contents">Editing String Contents</link></paragraph>
-<paragraph role="paragraph" id="par_id3149178" xml-lang="en-US">The following functions edit, format, and align the contents of strings. Use the &amp; operator to concatenate strings.</paragraph>
+<paragraph role="heading" id="hd_id3153894" xml-lang="en-US" level="1"><link href="text/sbasic/shared/03120300.xhp" name="Editing String Contents">Editing String Contents</link></paragraph>
+<paragraph role="paragraph" id="par_id3149178" xml-lang="en-US">The following functions edit, format, and align the contents of strings. Use the <literal>&amp;</literal> or <literal>+</literal> operators to concatenate strings.</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150669">
+ <bookmark_value>ampersand symbol; in string handling</bookmark_value>
+ <bookmark_value>Operators;concatenation (&amp; or +)</bookmark_value>
+ <bookmark_value>"&amp; or +" concatenation (strings)</bookmark_value>
+</bookmark>
</section>
<embed href="text/sbasic/shared/03120301.xhp#format"/>
<embed href="text/sbasic/shared/03120302.xhp#lcase"/>