Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

split field 1

Status
Not open for further replies.
Sep 12, 2005
448
US
hi
cr 9.0
ms qsl
i have a field that has this
46893028875272320000-Cue Financial Group Inc

i want to see only this
Cue Financial Group Inc

Durango122
if it moves and should not used Duck Tape
if does not move and should used WD-40
 
That would be:

split({table.field},"-")[2]

If the field can be null or missing the "-", use

if ubound(split({table.field},"-")) >=2 then
split({table.field},"-")[2] else
{table.field}

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top