hi all
I am trying to return the characters between 2 /
where the field contains " /abc/defgh " i want 'abc'
i am able to remove the first/ but not the second and the characters to the left.
substring(field,charindex('/',field)+1 ,len(field))
any pointers would be appreciated
I am trying to return the characters between 2 /
where the field contains " /abc/defgh " i want 'abc'
i am able to remove the first/ but not the second and the characters to the left.
substring(field,charindex('/',field)+1 ,len(field))
any pointers would be appreciated