Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
5
Reply
problem with split method
Ankit Kumar
Oct 26 2015 5:44 AM
308
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>");
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
MVC5
How we can impliment phonetic search in asp.net web appli