|
> I believe this should work, but it doesn't compile: > > C eval %subst(Title: > C ((%size(Title) - %size(cTitle) / 2) > C = cTitle > > This does not compile and I can't see why not. What if (%size(Title) - %size(cTitle)) is odd? I don't think %subst( Title : 15.5 ) will work. Also, you seem to be missing a parenthesis before the division. The general idea should work, but you might need a temporary field to store result of ((%size(Title) - %size(cTitle)) / 2) so that it can be rounded/truncated. Hope this helps, Adam ##################################################################################### Attention: The above message and/or attachment(s) is private and confidential and is intended only for the people for which it is addressed. If you are not named in the address fields, ignore the contents and delete all the material. Thank you. For more information on email virus scanning, security and content management, please contact administrator@xxxxxxxxxxxx #####################################################################################
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.