J
Joe M.
I have a query that needs to return the part of the original string after the
first blank. In other words I want to cut off the first word as shown below
in Short_desc. Originally I was using the following formula when I thought
the first word was "The". In this formula, if "The" is not present then the
result is the original string.
Short_Desc: IIf(Left([Field1],3)="The",Mid([Field1],5,35),[Field1])
Here's what I need. Note that if there is only one word then the entire
string is returned (record 4).
Field1 Short_Desc (Desired result)
Record 1: "The Apples" "Apples"
Record 2: "Another Time" "Time"
Record 3: "What problem" "Problem"
Record 4: "Alltogether" "Alltogther"
Can someone help?
Thanks,
Joe M.
first blank. In other words I want to cut off the first word as shown below
in Short_desc. Originally I was using the following formula when I thought
the first word was "The". In this formula, if "The" is not present then the
result is the original string.
Short_Desc: IIf(Left([Field1],3)="The",Mid([Field1],5,35),[Field1])
Here's what I need. Note that if there is only one word then the entire
string is returned (record 4).
Field1 Short_Desc (Desired result)
Record 1: "The Apples" "Apples"
Record 2: "Another Time" "Time"
Record 3: "What problem" "Problem"
Record 4: "Alltogether" "Alltogther"
Can someone help?
Thanks,
Joe M.