How to insert a new line in strings in Android February 16, 2023 by Tarik Try: String str = "my string \n my other string"; When printed you will get: my string my other string