Hello, I have a problem to extract the Text before a “word as determiner” example:
“Tributaria”
I have a large text conversion resulting from a ReadPDF activity from .pdf to .txt in a variable “Read_PDF_To_txt” I converted this text to a List (Strings) but using for example the following Syntax does not work for me:
Variable_name(#).Split(“.”.ToCharArray)(#) ← doesn’t always work because the text shifts out of position, so we decided to use the following function:
Read_PDF_To_txt.Substring(Read_PDF_To_txt.IndexOf(“Tributaria”))
The problem with this syntax is that it only brings me the last thing after the word “Tributary”, I need to bring what is in that Text Row just before the word “Tributaria”
Text extracted from PDF (example):
IDENTIFICACIÓN DEL BENEFICIARIO
Nombre Contribuyente País de Origen No. de Identificación
LESSER SUPPLY CHAIN PTE SINGAPORE Tributaria Datos de Inscripción
202001197K
Calle, Avenida, Carretera
Apartado Zona Postal Teléfono Ciudad Departamento o País
Singapore Estado Singapur
Object:
-Extract this text:
LESSER SUPPLY CHAIN PTE SINGAPORE
(without using regex or ( )Split.( .ToCharArray() )




