Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IStringMap multi-line string of key-values
#3
need to use csv format for multiline strings and csv as separator

Code:
Copy      Help
out
str A="1 key"
str Av=
;"hello
;world"

str B="2 key"
str Bv=
;"hello
;world"

str C="3 key"
str Cv=
;"hello
;world"

str kv=
F
;{A},{Av}
;{B},{Bv}
;{C},{Cv}

IStringMap m._create
m.AddList(kv "csv")
str v=m.Get("1 key")
if(v)
,out v
else
,out "not found"


Messages In This Thread
RE: IStringMap multi-line string of key-values - by Kevin - 11-08-2022, 02:43 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)