I need a formula to extract only "DIG REG" from
DIG REG-DIGITAL REGULAR field value. I am using Left and instr function to get the result but not able to get rid of the -.
Ok, I have these field values ANLG REG-ANALOG REGULAR,
DIG RBLD-DIGITAL REBUILD,DBS NATIONAL, DIG REG CMTY-DIGITAL REGULAR COMMUNITY SPECIFIC.But I need to show only the value before the - and if the - is not there then only the regular value. My formula
if (instr({Command.t_field_value},'-'))> 0 then
TrimRight (left({Command.t_field_value},(instr({Command.t_field_value},'-'))))
else
{Command.t_field_value}
gives me what I want except with a dash. If I user
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.