string lookfor = "Mac" query = "/contacts/contact" + "[contains(lower-case(name),'"+ lookfor.toLowerCase() + "')]";
Refernece:
http://geekswithblogs.net/ranganh/archive/2005/09/12/53520.aspx
string lookfor = "Mac" query = "/contacts/contact" + "[contains(lower-case(name),'"+ lookfor.toLowerCase() + "')]";
states: [
State { name: "album"
 PropertyChanges { target: but_album; state: 'Selected' }
 PropertyChanges { target: but_radio; state: 'Unselected' }
 PropertyChanges { target: but_rss; state: 'Unselected' }
},
State { name: "radio"
 PropertyChanges { target: but_album; state: 'Unselected' }
 PropertyChanges { target: but_radio; state: 'Selected' }
 PropertyChanges { target: but_rss; state: 'Unselected' }
},
State { name: "rss"
 PropertyChanges { target: but_album; state: 'Unselected' }
 PropertyChanges { target: but_radio; state: 'Unselected' }
 PropertyChanges { target: but_rss; state: 'Selected' }
}
]
states: [
State { name: "default"
 PropertyChanges { target: but_album; state: 'UnSelected' }
 PropertyChanges { target: but_radio; state: 'Unselected' }
 PropertyChanges { target: but_rss; state: 'Unselected' }
},
State { name: "album"; extend: 'default'
 PropertyChanges { target: but_album; state: 'Selected' }
},
State { name: "radio"; extend: 'default'
 PropertyChanges { target: but_radio; state: 'Selected' }
},
State { name: "rss"; extend: 'default'
 PropertyChanges { target: but_rss; state: 'Selected' }
}
] >hg pullpushing to http://joel.example.com:8000/ searching for changes abort: push creates new remote heads! (did you forget to merge? use push -f to force)