Click here to Skip to main content
15,889,992 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello All,

I have a string 'and Location='' and itemcode='' '
i want to split this and get Location='' and itemcode='' in two different variables and check the value of each field for null values as if i am checking a table column.
How can i do this?

Thanks in Advance,
Regards.
Posted
Comments
Prerak Patel 19-Jul-11 0:23am    
Did you try anything?

1 solution

Hint: Try and use String.Split to do this[^].

You can use Regular Expressions too, but you must become familiar with the Regular Expression concept before going into use it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900