--- title: "SubString(Texto, Posição Inicial, Posição Final)" slug: "1611331242" tags: ["Textos"] updated: 2026-07-29T12:18:33Z published: 2026-07-29T12:21:24Z canonical: "help.ila.cegid.com/1611331242" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.ila.cegid.com/llms.txt > Use this file to discover all available pages before exploring further. # SubString(Texto, Posição Inicial, Posição Final) - [x] PT - [x] ES - [x] AO - [x] CV - [x] MZ - [x] ST - [x] GW - [x] Professional - [x] Executive - [ ] Public Sector - [ ] Omnia - [x] Evolution --- Esta função devolve uma nova *string* desde a posição inicial do texto até à posição final. --- ## Exemplos **Exemplo 1:** SubString("Cegid", 0, 2) = "Ce" **Exemplo 1:** SubString("Cegid", 3, 5) = "gid"