public static string kw;
public String parse(String keyword)
{
this.keyword = keyword;
char[] letters = keyword.ToCharArray();
string g;
long length = System.Convert.ToInt64(keyword.Length.ToString());
for (int i = 0; i <= length-1; i++)
{
kw = "/"+letters[i];
}
return kw;
}
So, if the keyword allows you to say "Hello". I want this to output / h / e / l / l / o, but for now its only output is the last character, in this case / o
Can anyone help?
source
share