I imported a shapefile that contains track plots of SGY files into QGIS, and I would like to remove '.sgy' from the file names in the attribute table.
In the image, I've highlighted the section of the filename that I would like to delete in bulk
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
Alternatively, one can use the following expression:
it includes the
Another alternative using the
file_suffix() function. This expression concatenates a
. with the file suffix and replaces it with an empty string.
replace("NAME", '.' || file_suffix("NAME"), '')