BizTalk Server Orchestration - string.IndexOf in an orchestration???

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > March 2005 > string.IndexOf in an orchestration???





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author string.IndexOf in an orchestration???
Neal Walters

2005-03-07, 5:49 pm

I'm referring back to the post below. If I have:
myStr = myXML.Myfield;
myInt = myStr.IndexOf("this",1);

I get the compile error:
distinguished types cannot be references with the dot operator.

I don't mind using StringBuilder as suggested below, but StringBuilder
doesn't have an IndexOf method. Surely, I don't have to write a .NET static
class to do an IndexOf, do I ????

Neal Walters
http://Biztalk-Training.com

----------- REFER BACK TO THESE POSTS -----------------------
Hello.

The Orchestration puts restrictions on the use of String and other .net data
types. In the past, I have used the StringBuilder class instead.

Charles Young talks about it here:
http://geekswithblogs.net/cyoung/articles/3820.aspx
Under Primitive Data Types

Stephen W. Thomas
http://www.geekswithblogs.net/sthomas


"Rick" wrote:

> How do I use string methods within an Orchestration.
> I would like to be able to do the following.
>
> myStr = myXML.Myfield;
> myInt = myStr.IndexOf("this",1);
>
>
> thank you
> Rick
>





Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com