Forming URLstring conditionally
<p>i have 6-7 bool values like bookmark, authoredBy and some others as filters i want to form url such as if any filter applied it concatenate to the main url like 
something?bookmark=true&amp;author=true and like this i can use if else but that will be lengthy are there any other approach</p>
