Hi There
I’m new to easy morph - but what I’ve seen so far is Awesome!!!
what’s the best way to proper case name and address information, I guess propper-casing but with exceptions, i.e ‘Wilber-Smith’. O’Neil, PO Box etc
any help will be greatly appreciated
Hi Richard, and welcome to the Community!
It looks like the proper() function does its job well in almost all cases except abbreviations. Replace abbreviations additionally using a lookup table.
See the example below:
proper-with-lookup.morph (4.2 KB)
1 Like
thanks so much for this… i’ll take a look at this example a little later… i’m an old FoxPro programmer (if you can remember that far back :)) I have been looking for a replacement for a long time. A friend put me on to this software its amazing!!! just a few things I need to get under my belt in order to use it properly and proper casing of names and addresses is a big one for me…
I work in the mailing industry and 70% of the work we do involves loading client-supplied data (CSV, Excel etc ) of which we have no control over, then preparing it for print output. would I be able to convert this idea into a function/module etc maybe through Iterations? It’s something i will need to call in virtually every workflow i write and would be great to have it as function/module (reusable anyway). I’m not asking you to write a full-blown routine just put me on the right path to work it out
Thanks again
1 Like
Yes, you can re-use workflows in EasyMorph. The “Call” and “Iterate” actions can call other projects, not just modules. Therefore, you can create a reusable project (a subroutine), and call it from other workflows.
