I used Matlab/Mathematica during my PhD in 1993 and now trying to learn the fascinating Wolfram Language. So this might be a newby question so bear with me. The below simple expression
{"a.del", "b.del", "c.del"} /. s__ -> StringDelete[s, ".del"]
generates the expectecd content
{"a", "b", "c"}
but generates also the following error
StringDelete::strse: String or list of strings expected at position 1 in StringDelete[s,.del].
What am I doing wrong? Thanks for your help. Regards Markus