You can perform this task in two ways as below,
1) Use the concat() function. Refer to the below screenshot for this,
2) You can add the two strings with the + symbol. Refer to the below screenshot for this,
And if your concern was to just include a quote in a string then you can execute the command as shown in the below screenshot,
Hope this helps!
If you want to know more about Apache Spark Scala, It's highly recommended to go for Spark certification course today.
Thanks!!