ok  is working, not sure what i was looking at.
trying to get the following script running
std::string script = R""(
var newString = ""
var oldString = "some!path&remove"
for (var i = 1; i < oldString.size(); ++i)
if(oldString[i] != '!' &&
oldString[i] != '&')
newString += oldString[i]
getting the error "eString = "Error: \"Unable to find appropriate'+=' operator.\" With parameters: (string, char) during evaluation"
Can you help with the syntax of adding the += operator function or are there any includes that will define that.
If i include wstring how would that interact with string literals "some string", they would still be std::string