i have a url variable stored in a string... how can i write...is there any string function can do this? if (c_id ==10) { } else if (c_id==20) { } else { }