cancel
Showing results for 
Search instead for 
Did you mean: 

"+" sv list of symbols

ag1
New Contributor

q
)c:`a`b
q
)type c
11h
q
)"+" sv c
'type
  [0]  "+" sv c
           ^
q)`+ sv c
'
 
[0] `+ sv c
           ^

q)d:("aa";"bb")
q)d
"aa"
"bb"
q)"+" sv d
"aa+bb"


how can sv be used with symbols? or does it only work with chars?

1 REPLY 1

Connor_Gervin
New Contributor III
New Contributor III
http://code.kx.com/wiki/Reference/sv
"If Y is a list of strings, and X is a character or string, it joins the strings in Y, separated by X: "

q)"+" sv string c:`a`b