I want to concatenate two strings without any whitespaces between the strings that are being concatenated. But when I use the commands below, I get strings concatenated with whitespaces added between them. How to concatenate the strings without adding whitespaces?
set A "Test"
set B "data"
set C $A$B
Current Output :
Test data
I need output similar to this :
Testdata
If I try that, it works like this:
$ tclsh
% set A "Test"
Test
% set B "data"
data
% set C $A$B
Testdata
Could it be you have accidentally entered some control character between A and $?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With