so I have a several product name which I want the robot to remove the last word in the product name (after space)
for example:
Reinforced Steel Bar
i want to delete the last word (“bar”) so it will become “Reinforced Steel”
Mirror (new)
i want to delete the last word (“(new)”) so it will become “Mirror”
YourString is literally the Variable that you created to store the string.
Example:
If you created a Variable called Badget and you Assigned your BadgetName to it
Badget = Robot Apprentice
You create a variable with type string to store the result, lets say the cariable that you create is called OutBadget