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
2
Answers
ignore space and order on searsh c# in textbox
Mohamed Moumni
7y
187
1
Reply
i use this code to searsh a derictory name
foreach
(
object
str
in
Dossiers.ls_dossier_devis)
{
if
(str.ToString().ToLower().Contains(textBox1.Text.ToLower()))
{
listBox1.Items.Add(str);
}
}
but i want the code ignore space and order of word
can someone help pls ?
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
What is Anonymous Classes in C#?
How to modify dimensions of a div during run time