Please refer my previous article to learn more about SharePoint Designer 2013 Workflows.

In this blog you will see how to use “Trim String “action in SharePoint Designer 2013.

Description:

Removes white spaces from the beginning and end of a string.

Workflow Design: