get Immediate Path Value
Extracts the immediate path value after the specified path.
Returns the substring between the path and the next '/' or end.
Return
The path value, or null if not found.
Parameters
path
The path to search for in the URL.