Question : Excel String

What string do I use to get Column 2 (LINK) from Column 1 (CONSTRAINTS)

CONSTRAINTS                                                 LINK
CONSTR.# 999 - **2**** -4SA/5SA&QGM/QWF      CONSTR.# 999
CONSTR.# 998 - **2**** -4SA/5SA&QGM/QWF      CONSTR.# 998
CONSTR.# 997 - **2**** -4SA/5SA&QGM/QWF      CONSTR.# 997

Answer : Excel String

If the dash might be omitted...

=TRIM(LEFT(A2,FIND("-",A2&"-")-1))
Random Solutions  
 
programming4us programming4us