string into array

 
Hi guys, do you know how can i save string in array or matrice, like whith "CopyBuffer"?
 
axe_bra:
Hi guys, do you know how can i save string in array or matrice, like whith "CopyBuffer"?

Strings can be accessed as an array.

string s="abcd";
Print(s[1]); //output: "b"
 

No, i have three strings variables that i want to store into a array

example

string a="sell"

string b="buy";

string c="sell";

i want someting like another string that i can allign those three variables 

example

string d="sellsellbuy";

or an array like with indicators

CopyBuffer don,t store string into array

i want an alternative.


sorry i'm not good at english

Mohammad Hossein Sadeghi:

Strings can be accessed as an array.

 
See code examples for StringAdd, StringSplit, StringFormat functions
 
ty
Alexander Puzanov:
See code examples for StringAdd, StringSplit, StringFormat functions
 
axe_bra: No, i have three strings variables that i want to store into a array

example

string a="sell"

string b="buy";

string c="sell";

string s={"sell", "buy", "sell"};