Thursday, October 27, 2005

 

Sometimes it can be simple

As you might know within expressions in the Orchestration Designer you've got the impression that you can do everything what you can do in C#, but in fact you are using XLang# with its restrictions (see more at http://geekswithblogs.net/cyoung/articles/3820.aspx).

One simple example is how to replace something within a string you receive, as explained in Charles Young article you need to use the stringbuilder class to reach this:


str = HRFile(FILE.ReceivedFileName);
myStringBuilder = new System.Text.StringBuilder(str);
myStringBuilder.Replace("Start","Copy");
readFile_requestInstance.Path = myStringBuilder.ToString();

Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?