| 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
>
|