Query string utilities