I have a SQL column with name txt_Full_Path which has data as given below
E:/My_Users//kpa1/eOReport - VSD.mrk
E:/My_Users//krishr9/Report.mrk
E:/My_Users//kristc/AllPAS.mrk
E:/My_Users//kukerm/v1.mrk
E:/My_Users//ksnedike/abcdef.mrk
how do I get the value after first occurrence of ‘//’ moving from left to right?
so that I get these values in a new column.
kpa1
krishr9
kristc
kukerm
ksnedike
Results:
You may also run into a case where there is no trailing subsequent
/character, e.g.'E:/foo//bar'– if so then: