If in string test1, you are referring to yourself, and the length of time it took to "figure it out" is determinate or known, then no doubt, you've already figured it out.
It's possible that I've misinterpreted your words. You may not have "figured it out", so with the following you should be able to pretend you had already figured it out.
Traditionally:
Code:

string test = "Greetings and salutations!";
string test1 = "Hello. I'm just your average dummy."
text dialog {
strings = 1;
string " "; // 1
}
function assign1() {
str_cpy(dialog.string[0], test);
}
function assign2() {
str_cpy(dialog.string[0], test1);
}