Copy(Text,1,up to white space)

Asked

Viewed 1,380 times

0

I have a text (456/2017 1.1 Meet the Countries) and sometimes I have (45/17 1.1 .....) how do I pick up with the copy(Text,1,blank)?

1 answer

3

Use the function POS to return the position of the first character espaço:

Copy(Texto, 1, POS(' ', Texto) - 1);

Browser other questions tagged

You are not signed in. Login or sign up in order to post.