• select substring(srcString, charindex(targetString, SrcString),len(srcString)-charindex(targetString, SrcString)+1)

    This is a generic statement to be used in place of Right() where srcString is the main string and targetString is the string to be found from srcString.



    Pradeep Singh