extractIDFromParameterURL

Extracts the ID from a URL, removing query parameters.

Returns the substring before the query string, if present.

Return

The extracted ID, or null if the input is null.