Delete text after a space

Hello
I need to delete the text after finding a space, I have tried with Trim, Remove and replace, but I have not achieved what I want, I give an example.

EX: Under Armor → Under

I want to remove whatever comes after a space.
Thank you.
All the best

Hi @Aguirre,

You may try Split(“Under Armor”, " ")(0).ToString

Hope this helps.

Thanks,
Ashwini Kempraj

Thank you very much. I have tried and it is what I needed.
Captura de pantalla 2022-05-16 a las 18.45.53

1 Like

Cheers! Happy Automation! :robot:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.