I have a String having a placeholder for an id value
"Input url -> "/student/:id/"
and I need to insert such a value in order to make the result look like
Output url" -> /student/230/"
can we use format() method of String, I don't want to use %d in my url, just want a way to replace :id variable.