But as a function it's unnecessarily complicatedFunction F_RemovePrefix(s As String) As String F_RemovePrefix = mid(s,5) End Function
this would do as well
if left(s,4)="\\?\" then s = mid(s,5)
But as a function it's unnecessarily complicatedFunction F_RemovePrefix(s As String) As String F_RemovePrefix = mid(s,5) End Function
this would do as well
if left(s,4)="\\?\" then s = mid(s,5)