Open harshraj8843 opened 1 year ago
Write a Scala program to convert string to snakecase
Snakecase is a style of writing in which all letters are lowercase and spaces are replaced with underscores.
Input : "hello world" Output : "hello_world"
!assign
Description
Write a Scala program to convert string to snakecase
Snakecase is a style of writing in which all letters are lowercase and spaces are replaced with underscores.
How to contribute
- Save the solution in `program/program/convert-string-to-snakecase/program/convertStringToSnakecase.scala` file