
This topic is about AWK – String Concatenation Operator.
Space is a string concatenation operator that merges two strings. The following example demonstrates this −
Example
[jerry]$ awk 'BEGIN { str1 = "Hello, "; str2 = "World"; str3 = str1 str2; print str3 }'
Output
On executing this code, you get the following result −
Hello, World
In this topic we learned about AWK – String Concatenation Operator. To know more, Click Here.
Pingback: AWK - Exponential Operators - Adglob Infosystem Pvt Ltd