hi!
how to use the split string method in c# into the web service code?
looking forward for the answer.
thank you
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jaish MathewsPosted Apr 29, 2010, 2:00 PM
string,Array all are .NET types you can use any where. Below example. I don't know what's your logic, but slit can use like this.
string str = "One,Two, three";
Array arr = str.Split(',');
foreach (string s in arr)
{
//Looing though each
}
Jaish MathewsPosted Apr 30, 2010, 1:05 AM
syu adaPosted Apr 29, 2010, 11:02 PM
syu adaPosted Apr 29, 2010, 5:42 AM
most of the example for split string is using console application.
then how to use it in web service application?
Lalit MPosted Apr 29, 2010, 5:34 AM
try this link will help
Articles Here
http://msdn.microsoft.com/en-us/library/system.string.split%28VS.71%29.aspx
http://www.csharp-station.com/HowTo/StringJoinSplit.aspx
Functions
Examples
Jaish MathewsPosted Apr 29, 2010, 5:30 AM