Pular para o conteúdo
officetuning.aiofficetuning.ai
TreinamentosConsultoriaBibliotecaFerramentasConteúdoPortfólio
Entrar
officetuning.aiofficetuning.ai

Treinamento, consultoria e mentoria para decidir, construir e aprender nas quatro frentes da marca.

AI · Data · Productivity · Dev · São Paulo
contato@officetuning.ai
TreinamentosPower BIExcelSQLPowerPointIA + ProdutividadeTodos os treinamentos
PortalConsultoriaBibliotecaPortfólioBackground BuilderDashboard CanvasConteúdo
InstitucionalPolítica de privacidadeInformações legais
© 2026 officetuning.ai · São Paulo
  1. Biblioteca
  2. Power Query (M)
  3. Funções M
  4. Text.Insert

Text.Insert

MTexto

Retorna o resultado de inserir o texto newText no texto text na posição offset. As posições começam em 0.

Sintaxe

M
Text.Insert(text as nullable text, offset as number, newText as text) as nullable text

Parâmetros

textnullable textObrigatório

Texto de origem.

M
"ABD"
offsetnumberObrigatório

Posição de inserção, começando em 0.

M
2
newTexttextObrigatório

Texto a inserir.

M
"C"

Retorna

nullable text

Exemplo

M
Text.Insert("ABD", 2, "C")

Resultado

M
"ABCD"

Mais informações

Subgrupo
Text
Referência
https://learn.microsoft.com/pt-br/powerquery-m/text-insert
Função anteriorText.InferNumberTypePróxima função Text.Length
Biblioteca