Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Split, Substring and other functions in expression editor?

1,052 views
Skip to first unread message

Sam Loveridge

unread,
Jan 11, 2005, 7:03:02 PM1/11/05
to
Hi all. I'm trying to take a string variable in the BizTalk Expression
Editor in an orchestration and split it on a pipe. Does anyone know what
happened to the split function?? This must be a simple thing I've
overlooked. I've declared a variable of type System.String, but intellisense
does not show all the string functions. I can see Join, but no Split ... am
I going mad???

Sam.


Jon Flanders

unread,
Jan 11, 2005, 7:27:43 PM1/11/05
to
I've never tried - but I am guessing it relates to the fact that XLANGs (the
language you use in the Expression editor) doesn't support Arrays

--
Jon Flanders [DevelopMentor]
http://staff.develop.com/jfland/
http://www.develop.com/courses/biztalk
"Sam Loveridge" <slove...@adelaidebank.com.au> wrote in message
news:%23aEHXoD%23EHA...@TK2MSFTNGP10.phx.gbl...

Sam Loveridge

unread,
Jan 11, 2005, 7:36:16 PM1/11/05
to
Any suggestions on how to get around it? There doesn't even appear to be a
substring function.


"Jon Flanders" <jfl...@develop.com> wrote in message
news:OkmDv2D%23EHA...@TK2MSFTNGP11.phx.gbl...

Jon Flanders

unread,
Jan 11, 2005, 7:40:38 PM1/11/05
to
Create a .NET class with a method that takes a string and returns an
ArrayList and call it from your expression shape.

--
Jon Flanders [DevelopMentor]
http://staff.develop.com/jfland/
http://www.develop.com/courses/biztalk
"Sam Loveridge" <slove...@adelaidebank.com.au> wrote in message

news:e4Jc76D%23EHA...@TK2MSFTNGP15.phx.gbl...

Sam Loveridge

unread,
Jan 11, 2005, 8:03:25 PM1/11/05
to
Thanks for your help. That was my last resort also. It's a pity it's not
built in, but I suspect that I will eventually have quite a few methods in a
utility "helper" class to perform the actions not supported by the editor.

Cheers, Sam.


"Jon Flanders" <jfl...@develop.com> wrote in message

news:uzwp89D%23EHA...@TK2MSFTNGP09.phx.gbl...

Jon Flanders

unread,
Jan 11, 2005, 8:10:58 PM1/11/05
to
No problem, doing things in .NET components tends to be a little more
extensible as well - and yes - you will just have to do that many times.

--
Jon Flanders [DevelopMentor]
http://staff.develop.com/jfland/
http://www.develop.com/courses/biztalk
"Sam Loveridge" <slove...@adelaidebank.com.au> wrote in message

news:uwquGKE%23EHA...@TK2MSFTNGP14.phx.gbl...

0 new messages