I am looking to extract a specific value from the below
John Harold Smith WR10472285
I need to capture the first name (John), surname (Smith) and wrnumber.
However there are and will be times where there wont be a middle name to capture.
My current code only works when there is no middle name, therefore i can’t use that code.
@supermanPunch yes the wr number will always have the WR infront of it.
Values that will present will be Firstname, Surname, WR number and the data after but i dont need that data to be stored.
aahh that works thank you, so if i wanted to add this code to my workflow as am taking the data from a spreadsheet how can i do that? do i save the variable thats taking the data from the cell as test? @supermanPunch
it cant read the google sheets spreadsheet if the variable type is a string but when i put it to object the google sheets has no error but the workflow you provided does have errors, when its string variable then i have any error on the google sheets read cell activity but not on your workflow @supermanPunch am slightly confused
@nick.v Which Activity are you using to get the Value from SpreadSheet? If Object Type Works, keep it as Object, but then when you use it in my Workflow, use it as objectVariable.ToString