Could you please provide the exact line of code you are thinking? I don't know if those single quotes are to be in the code, or where I'm supposed to use them. Thanks.
Type: Posts; User: nesthead98
Could you please provide the exact line of code you are thinking? I don't know if those single quotes are to be in the code, or where I'm supposed to use them. Thanks.
I have a String in which I'm trying to replace all individual characters (except for spaces) surrounded by spaces with hyphens.
I thought the code to do this would look something like this:
str =...