Hello I am currently trying to split the string "EAM\test" between the \ part. I have gotten the code to work if the \ was a -. But I can't see why the error is occuring

I have tried

String...