Find substring action

If the original string is "1234/abcd" you can use Find Substring action to get the values up to the "/". 

Input value: 1234/abcd 
Starts with: 
Ends with: /* 

The results when you run this step will be 1234. 

Important: Do not put any value in parameter "Starts with".