mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 19:26:56 +08:00
44 lines
2.6 KiB
HTML
44 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Função SUBSTITUIR</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="descricao" content="" />
|
|
<link type="text/css" rel="stylesheet" href="../../../../../../common/main/resources/help/editor.css" />
|
|
<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
|
|
<script type="text/javascript" src="../callback.js"></script>
|
|
<script type="text/javascript" src="../../../../../../common/main/resources/help/search/js/page-search.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="mainpart">
|
|
<div class="search-field">
|
|
<input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
|
|
</div>
|
|
<h1>Função SUBSTITUIR</h1>
|
|
<p>A função <b>SUBSTITUIR</b> é uma das funções de texto e dados. É usado para substituir um conjunto de caracteres por um novo.</p>
|
|
<p>A sintaxe da função <b>SUBSTITUIR</b> é:</p>
|
|
<p style="text-indent: 150px;"><b><em>SUBSTITUIR(string, string-antiga, string-nova [, ocorrência])</em></b></p>
|
|
<p><em>onde</em></p>
|
|
<p style="text-indent: 50px;"><b><em>string</em></b> é a string para realizar a substituição.</p>
|
|
<p style="text-indent: 50px;"><b><em>string-antiga</em></b> é a string a ser substituída.</p>
|
|
<p style="text-indent: 50px;"><b><em>string-nova</em></b> é a string a ser substituída.</p>
|
|
<p style="text-indent: 50px;"><b><em>ocorrência</em></b> é o número de ocorrências a serem substituídas. É um argumento opcional, se omitido, a função substituirá todas as ocorrências dentro da <b><em>string</em></b>.</p>
|
|
<p>Os valores podem ser inseridos manualmente ou incluídos na célula à qual você faz referência.</p>
|
|
<p>Para aplicar a função <b>SUBSTITUIR</b>,</p>
|
|
<ol>
|
|
<li>selecione a célula onde deseja exibir o resultado,</li>
|
|
<li>clique no ícone <b>Inserir função</b> <div class = "icon icon-insertfunction"></div> situado na barra de ferramentas superior,
|
|
<br />ou clique com o botão direito em uma célula selecionada e selecione a opção <b>Inserir Função</b> no menu,
|
|
<br />ou clique no ícone <div class = "icon icon-function"></div> situado na barra de fórmulas,
|
|
</li>
|
|
<li>selecione o grupo de funções <b>Texto e dados</b> na lista,</li>
|
|
<li>clique na função <b>SUBSTITUIR</b>,</li>
|
|
<li>digite os argumentos necessários separando-os por vírgula,
|
|
</li>
|
|
<li>pressione o botão <b>Entrar</b>.</li>
|
|
</ol>
|
|
<p>O resultado será exibido na célula selecionada.</p>
|
|
<p style="text-indent: 150px;"><img alt="Função SUBSTITUIR" src="../images/substitute.png" /></p>
|
|
</div>
|
|
</body>
|
|
</html> |