Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
5
Answers
problem with split method
Ankit Kumar
9y
328
1
Reply
Hey guys please help me,
i am removing forward slash from a string using split method but it's not getting executed.
i have used this code.
string initrainingid;
initrainingid = startdate.Text;
string[] seperator = initrainingid.Split('/');
foreach (string trining_id in seperator)
{
trainingid = trainingid + seperator;
}
Response.Write("<script>alert('Trining id is"+trainingid+"');</script>");
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
MVC5
How we can impliment phonetic search in asp.net web appli