I have a text (456/2017 1.1 Know the Countries) and sometimes I have (45/17 1.1 .....) how do I get the copy command (Text, 1, white space)?
I have a text (456/2017 1.1 Know the Countries) and sometimes I have (45/17 1.1 .....) how do I get the copy command (Text, 1, white space)?
Use the POS
function to return the position of the first character espaço
:
Copy(Texto, 1, POS(' ', Texto) - 1);