i have a url, which have to alter base on output from other function.
rogues_detail_url = https://foo.bar.com/api/list_view.json?list=rogue_ap&fv_id=0&page_length=500&sort_col=acknowledged&sort_descend=false&start_row=0
rogues_detail_url.replace("500",foo())
foo()
returns an integer value.
just in case if i was doing it wrong i also tried
rogues_detail_url.replace("500","1000")
Neither of them seem to work. Printing the url after i execute the statement, prints the same url