惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Proofpoint News Feed
V
V2EX
WordPress大学
WordPress大学
Google DeepMind News
Google DeepMind News
Martin Fowler
Martin Fowler
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
The Cloudflare Blog
T
Tailwind CSS Blog
H
Help Net Security
腾讯CDC
爱范儿
爱范儿
人人都是产品经理
人人都是产品经理
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
Stack Overflow Blog
Stack Overflow Blog
D
DataBreaches.Net
C
Check Point Blog
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com

博客园 - zhanqiangz(闲云野鹤)

在ReportService2005.asmx 找不到 ReportingService2005 类 BizTalk相关的问题,打算持续更新。 恢复被格式化过的硬盘数据 BizTalk - Most possible reason for “is Delimiters are not unique” in EDI transaction What happens if BizTalk artifacts are not GACed? XmlSerializer is not trustable BizTalk - How to create custom functoid. BizTalk - Carefully use Send Port Group BizTalk - How to debug map in VS2005 BizTalk-Get to know functoid. 一辈子都忘不了的七夕节 Head First Design patterns笔记-Singleton patterns (从“一夫一妻制社会中婚约的达成”看单件模式) Global.asax文件里的Application_Init能触发吗? 使用HttpApplication实例(翻译) Head First Design patterns笔记-Decorator Patterns (从”用不同技能武装自己”看装饰模式) Head First Design patterns笔记-Observer Patterns (从TFS的Project alerts功能看观察者模式) ASP.NET 2.0的编译行为 Head First Design patterns笔记-Strategy Patterns (从不同的人使用不同的交通工具上班看策略模式) 晕菜了,TFS居然把vss里的那个rollback功能cut掉了,还好有人写了工具.
BizTalk - String Functoids
zhanqiangz(闲云野鹤) · 2008-04-01 · via 博客园 - zhanqiangz(闲云野鹤)

   String Functoids:
    1. If you specify a non-number instead of number, functoid will generate nothing instead of throwing an exception.

String Left Trim: Removes leading spaces from a text item.

Input Data:    Zack Zhao

Output Data: Zack Zhao

Equivalent .Net function:

String sourceString = "   ZackZhao";

Console.WriteLine(sourceString.TrimStart());

String Concatenate: Concatenates a series of input strings.

Input Data: two strings: “Hello!” and “ Zack Zhao”.

Output Data: Hello! Zack Zhao

Equivalent .Net function:

string greeting = "Hello!";

string sourceString = " Zack Zhao";

Console.WriteLine(string.Concat(greeting, sourceString))

Size: Returns, as an integer, the length of a string. Not bytes count.

Input Data: 我是中国人
Output Data: 5

Equivalent .Net function:

 string sourceString = "我是中国人";

 Console.WriteLine(sourceString.Length);

String Left: Returns a specified number of characters from a text item, starting with the leftmost character.

Input Data: “我是中国人” and 2

Output Data: 我是

Equivalent .Net function:

string sourceString = "我是中国人";

Console.WriteLine(sourceString.Substring(0,2));

String Extract: Extracts a string specified by the start and end positions of a super string.

leftmost character.

Input Data: “Zack” , 2 and 2

Output Data: a

Equivalent .Net function

string sourceString = "Zack";

Console.WriteLine(sourceString.Substring(1,1));

Upper Case: Use the Uppercase functoid to convert a text item to uppercase characters. This functoid requires one input parameter.

Input Data: Zack Zhao

Output Data:ZACK ZHAO

Equivalent .Net function:

string sourceString = "Zack Zhao";

Console.WriteLine(sourceString.ToUpper());

Lower Case: Use the Lowercase functoid to convert a text item to lowercase characters. This functoid requires one input parameter.

Input Data: Zack Zhao

Output Data: zack zhao

Equivalent .Net function:

string sourceString = "Zack Zhao";

Console.WriteLine(sourceString.ToLower());

String Right: Use the String Right functoid to return a specified number of characters from a text item, starting with the rightmost character. This functoid requires two input parameters.

Input Data: “我是中国人” and 3

Output Data:中国人

Equivalent .Net function:

string sourceString = "我是中国人";

Console.WriteLine(sourceString.Substring(sourceString.Length-3,3));

String Find: Use the String Find functoid to return the position in a string at which another specified string begins. This functoid requires two input parameters: the string that is being searched through, and the string which is being sought.

Input Data: “Zack” and “Z”

Output Data:1

Equivalent .Net function:

string sourceString = "Zack";

Console.WriteLine(sourceString.IndexOf("Z"));

    Note: the position of the first character in a string is 1 not 0, it is different from c#.