how do i pass a String as a parameter to fetch the ItemIDs? my current function: static int ItemID(String x) but it takes the input only as an Integer. i tried comparing two variables, say p and q, and checked if q == 0, then return p. but still it returns gibberish data. someone help!