getFilenameFromUri

Given a URI, returns the last segment of the URI, removing any path or query information.
Example:
//fileName will be"simple.czml";
const fileName = Cesium.getFilenameFromUri('/Gallery/simple.czml?value=true&example=false');
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.