L
Luigi Z
Hi all,
I have a List<string> from which I have to compose a caption (another
string) with a separator (-). If I use this code:
if (MyListString.Count != 0)
{
foreach(string s in MyListString
{
caption += orphan + "-";
}
}
it appers the - in the bottom of the string, like:
12345-54321-
How can I prevent this?
Thank you
I have a List<string> from which I have to compose a caption (another
string) with a separator (-). If I use this code:
if (MyListString.Count != 0)
{
foreach(string s in MyListString
{
caption += orphan + "-";
}
}
it appers the - in the bottom of the string, like:
12345-54321-
How can I prevent this?
Thank you