Aded functoid that converts a string of substrings into lowercasse with a capital first letter.

by eliasen 4. February 2009 00:09

Hi all

So, a colleague of mine is integrating with AS/400 and this system seems to be sending all strings as all-uppercase. So a company name might look like this: "JANS SUPERCOMPANY A/S". This really isn't what he wants output in the end, so I have built a functoid and added it to my downloadable collection, which converts the "JANS SUPERCOMPANY A/S" into "Jans Supercompany A/S". It has an optional set of strings that are not to be messed with :-)

Examples of output from the functoid. The second parameter is optional.

First input Second input Output
jan eliasen   Jan Eliasen
jan eliasen A/S JAn JAn Eliasen A/s
JAN ELIASEN A/S Jan,A/S Jan Eliasen A/S
This is a test string for the functoid tHIS,A,fOr,silly tHIS Is A Test String fOr the functoid

As always, you can download the functoid at http://www.eliasen.eu/DownloadSoftware.aspx - where you can also download the documentation.

--
eliasen

Tags:

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

About the author

Jan Eliasen is 37 years old, divorced and has 2 sons, Andreas (July 2004) and Emil (July 2006).

Jan has a masters degree in computer science and is currently employed at Logica Denmark as an IT architect.

Jan is a 6 times Microsoft MVP in BizTalk Server (not currently an MVP) and proud co-author of the BizTalk 2010 Unleashed book.

BizTalk Server 2010 Unleashed


Buy from Amazon

Microsoft MVP


6 times: July 2004, July 2008, July 2009, July 2010, July 2011, and July 2012. Not currently an MVP.

MCTS

Image to show

Month List

Page List