1
0
Fork 0
libreoffice/helpcontent2/source/text/scalc/01/func_search.xhp
Daniel Baumann 8e63e14cf6
Adding upstream version 4:25.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 16:20:04 +02:00

43 lines
2.5 KiB
XML

<?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/.
*
-->
<meta>
<topic id="calcfunc_search" indexer="include" status="PUBLISH">
<title id="tit">SEARCH Function</title>
<filename>/text/scalc/01/func_search.xhp</filename>
</topic>
</meta>
<body>
<bookmark branch="index" id="bm_id3151005">
<bookmark_value>SEARCH function</bookmark_value>
</bookmark>
<bookmark branch="hid/SC_HID_FUNC_SUCHEN" id="bm_id3149484" localize="false"/>
<section id="func_search">
<h1 id="hd_id3151005">
<variable id="search_h1">
<link href="text/scalc/01/func_search.xhp">SEARCH</link>
</variable>
</h1>
<paragraph id="par_id3148692" role="paragraph"><ahelp hid="HID_FUNC_SUCHEN">Returns the position of a text segment within a character string.</ahelp> You can set the start of the search as an option. The search text can be a number or any sequence of characters. The search is not case-sensitive. If the text is not found, returns error 519 (#VALUE).</paragraph>
</section>
<embed href="text/shared/00/00000001.xhp#regex"/>
<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3154671" role="code">SEARCH("FindText"; "Text" [; Position])</paragraph>
<paragraph id="par_id3146080" role="paragraph"> <emph>FindText</emph> is the text to be searched for.</paragraph>
<paragraph id="par_id3154111" role="paragraph"> <emph>Text</emph> is the text where the search will take place.</paragraph>
<paragraph id="par_id3149559" role="paragraph"> <emph>Position</emph> (optional) is the position in the text where the search is to start.</paragraph>
<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3154564" role="paragraph"> <item type="input">=SEARCH(54;998877665544)</item> returns 10.</paragraph>
<section id="relatedtopics">
<tip id="par_id701677016652715"><link href="https://wiki.documentfoundation.org/Documentation/Calc_Functions/SEARCH">SEARCH wiki page</link>.</tip>
<paragraph role="paragraph" id="par_id81634670394769" localize="false"><embedvar href="text/scalc/01/04060110.xhp#head_text"/></paragraph>
</section>
</body>
</helpdocument>