I’m adding some new BizTalk Server Functoids that I have often used these last few years in my new BizTalk Server projects. Recently, I updated this package with a new functoid, Remove Trailing Zeros Functoid, and today, I’m going to update it with another one, Replace Multiple Spaces with a Single Space Functoid, which is now part of the BizTalk Mapper Extensions UtilityPack project available for BizTalk Server 2020.
Replace Multiple Spaces with a Single Space Functoid
This functoid allows you to replace multiple spaces inside the string with a single space.
- This functoid requires one input parameter:
- String to replace multiple spaces with single space;
- Examples:
- Input:
"Hello World BizTalk!"
– The string ends with.00
, so the function returns"Hello World BizTalk!"
.
- Input:

Sometimes, people question why I release new BizTalk Server components if BizTalk Server is at the end of its life. My typical answer is: only fools believe that!
BizTalk Mapper Extensions UtilityPack
BizTalk Mapper Extensions UtilityPack is a set of libraries with several useful functoids to include and use it in a map, which will provide an extension of BizTalk Mapper capabilities.

Where can I download it?
You can download the complete Azure Function source code here:
I hope you find this helpful! If you liked the content or found it useful and want to help me write more content, you can buy (or help buy) my son a Star Wars Lego!