I'm a newbie in java and as far as I concern this is pretty to do simple but I don't remember exactly the synthax I need to apply in order to get what's next:
I have the following string:
Random sentence with a few words
I want a proper synthax which returns the following:
Random-sentence-with-a-few-words
Thanks.
String.replace()method for that.