#This function should split out the string it takes in and return what's after the // def extractArgs(inputString): output = str.split("//",inputString) return output[1] arguments = extractArgs("modjive://sandbox") print arguments