Answers for "combine strings bash"

8

combine strings bash

foo="Hello"
foo="${foo} World"
echo "${foo}"
> Hello World
Posted by: Guest on May-06-2020
1

concatenate strings bash

VAR1="Hello,"
VAR2=" World"
VAR3="$VAR1$VAR2"
echo "$VAR3"
Posted by: Guest on April-23-2020
0

bash concatenate string variables

foo="Hello"
foo="${foo} World"
echo "${foo}"
> Hello World
Posted by: Guest on April-29-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language