Saved Bookmarks
| 1. |
How Can You Format A String? |
|
Answer» To format a STRING, use the .format () METHOD, in SCALA you can use VAL formatted= “%s %i”.format (mystring.myInt) To format a string, use the .format () method, in scala you can use Val formatted= “%s %i”.format (mystring.myInt) |
|