zootweller
Technical User
Hi
I have a string field (called 'Transaction') where several components exist, seperated by full-stops, eg:
"ContractName.Location.Code.Type.System"
Sometimes the string can contain an extra ccomponent, so
I would like to tell Crystal that if there are 5 full-stops in the string, return the text after it.
I have tried variations of mid({Transaction}, instr({Transaction},".")+1) but v7 is weak without instrrev or the ability to use looping.
Any help (other than upgrading!) would be appreciated.
I have a string field (called 'Transaction') where several components exist, seperated by full-stops, eg:
"ContractName.Location.Code.Type.System"
Sometimes the string can contain an extra ccomponent, so
I would like to tell Crystal that if there are 5 full-stops in the string, return the text after it.
I have tried variations of mid({Transaction}, instr({Transaction},".")+1) but v7 is weak without instrrev or the ability to use looping.
Any help (other than upgrading!) would be appreciated.