GlideURI - getFileFromPath()

Returns the file name portion of the URI.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
String The file name portion of the URI.
var gURI = new GlideURI();
 
var fileString = gURI.getFileFromPath();
gs.info(fileString);