I have two strings “Alpha Beta Architects” and “Alpha Bate Architects, ham house, Cork, Ireland”
The scenario is I want to be able to remove the value “Alpha Beta Architects” from the second string the issue is the spelling mistake located in the second string. Is there a way to over come things such as incorrect spelling with trying to remove or replace?
"I have a list of items: """ + strList + """
Remove " + strWordToBeRemoved + " from the list and show me the new list. I may have typos in the item name I want to replace. Reply only with the updated list. Do not change the capitalization and order of the words in the list."
Run a couple of tests and modify the prompt if necessary.
Apologies think there was some confusion, the string needs to be “Alpha Beta Architects” and it’s trying to find a similar text "Alpha Bate Architects” and remove it from "Alpha Bate Architects, ham house, Cork, Ireland”
if the input string is InputStr = “Alpha Bate Architects, ham house, Cork, Ireland” how does it compare “Alpha Beta Architects” and remove this from the input string with the spelling mistake?