example..
int a,b;
i need each one seperate int a , b?
how is possible
How to split in c sharp
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
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 attend4days leftRegister
Koteswararao MallisettiRank #2,740 · 511 reputationPosted Sep 29, 2010, 2:07 AM EDT
vishnu krishnan103 reputationPosted Sep 29, 2010, 3:21 AM EDT
actually i want to how to remove all the whitespace and then split the string
that means...
example i have the loaded code contains
#include
int main()
{
(space) int a,b;
}
so i have to get..
int
a
,
b
;
here the whitespace means, in the above code have int a,b; actually it have some space (space), so how will remove this
how will do this?
Mahesh ChandRank #1 · 393.3K reputationPosted Sep 29, 2010, 3:23 AM EDT