Using Management Studio 2012, I have a field which holds paths to files
C:/Documents/FolderA/FolderA1/FileName1
C:/Documents/FolderA/FolderA1/FileName2
C:/Documents/FolderA/FolderA1/FileName3
C:/Documents/FolderA/FileNameA
C:/Documents/FolderA/FileNameB
Want my field to look like this
C:/Documents/FolderA/FolderA1/
C:/Documents/FolderA/FolderA1/
C:/Documents/FolderA/FolderA1/
C:/Documents/FolderA/
C:/Documents/FolderA/
Have tried using the function left but you have to declare the amount of characters to get to delete and obviously some file name are longer than others so this doesn't work.