Several adjustments on filling xml with data

This commit is contained in:
2015-07-09 13:20:37 +02:00
parent 83b91ab8fc
commit a1554fc937
5 changed files with 290 additions and 162 deletions

View File

@ -56,7 +56,17 @@ namespace CobXmlSupport
{
return __wordSource;
}
public string NumVal()
{
string numChars = "0123456789";
string tmpStr = "";
for (int i = 0; i < __wordSource.Length; i++)
{
tmpStr += numChars.IndexOf(__wordSource.Substring(i, 1))>-1?__wordSource.Substring(i, 1):"";
}
return tmpStr;
}
}
}