Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
So I have a field which has a '-' at different places within the field. In all cases I want to only show the characters that appear after the -.
For example:-
stu-art should be art
s-tuart should be tuart
What type of expression can I use to get around this?
Thanks
Stuart
Subfield(YourFieldName,'-',2) as YourFieldName
or
Subfield(YourFieldName,'-',-1) as YourFieldName
Subfield(YourFieldName,'-',2) as YourFieldName
or
Subfield(YourFieldName,'-',-1) as YourFieldName
Hi
try below
subfiled(field,'-',2)
Regards
ASHFAQ
Hi,
Sorry i should have said that the field could be any lenght.
For example we could have
ffffffffffffffffffffffffff-f
or
ggggggggggggggggggggggggggggggggggggggggg-aa
That should work.
Regards
ASHFAQ
Use SubField:
Subfield(FieldName,'-',2) as NewFieldName