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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jaish MathewsRank #225 · 11K reputationPosted Apr 29, 2010, 10:00 AM EDT
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 MathewsRank #225 · 11K reputationPosted Apr 29, 2010, 1:30 AM EDT
Lalit MRank #1,186 · 1.5K reputationPosted Apr 29, 2010, 1:34 AM EDT
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
syu ada5 reputationPosted Apr 29, 2010, 1:42 AM EDT
most of the example for split string is using console application.
then how to use it in web service application?
syu ada5 reputationPosted Apr 29, 2010, 7:02 PM EDT
Jaish MathewsRank #225 · 11K reputationPosted Apr 29, 2010, 9:05 PM EDT