Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Question with Development.

$
0
0
If I have a string like W:\ABC\F1.bak, is there any way to capture just W:\ABC, it is not necessary that it could be just W:\ABC, it could be W:\ABCD as well, the main intention is that if there are 2 backslashes in the entire string, I would like to capture the entire text before the second backslash or in other words i want to caapture the entire string except .bak, .trn and so on.Any help would be Highly Appreciated.

Viewing all articles
Browse latest Browse all 3145

Latest Images

Trending Articles



Latest Images