how to cancate string of string array elemens
-
2012年7月16日 8:06i am now able to get the email body but is problem with the unicode to do concate,....
_italic_ **bold** 'string vowel = "ािीु";
string[] vlletters = vowel.Select(c => c.ToString()).ToArray();
string exampleString = "संसार";
string[] wordletters = exampleString.Select(c => c.ToString()).ToArray();
Console.WriteLine(wordletters.Length);
string[] wordsletters = new string[wordletters.Length];
int k = 0;
string[] str = new string[50];
for (int i = 0; i < exampleString.Length; i++)
{
for (int j = 0; j < vowel.Length; j++)
{
if (wordletters[i] == vlletters[j])
{
str[k] = wordletters[i];
str[k - 1] = "\0";
String.Concat(wordletters[i], wordletters[i - 1]);
foreach(string ch in wordletter) SyallibisedWordView.Items.Add(Convert.ToString(ch));
}
else
{ str[k++] = wordletters[i];}
}
}
}
'here i want to get output as "सं सा र" in array; but coulnot get it
Plz help me to get the required output
全部回复
-
2012年7月16日 13:53版主
Hi MEBeginner,
The purpose of this forum is to support the Open Specifications documentation. You can read about the Microsoft Open Specifications program here, http://www.microsoft.com/openspecifications/en/us/default.aspx
Your question may be more applicable to this forum, http://social.msdn.microsoft.com/Forums/en-US/category/visualcsharpRegards,
Mark Miller
Escalation Engineer
US-CSS DSC PROTOCOL TEAM- 已标记为答案 Mark Miller_DSCMicrosoft Employee, Moderator 2012年12月4日 22:22

