Other OutSystems sites...
OutSystems Website
About Agility Blog
OutSystems Network
Login
Signup
Forums
Academy
Forge
Ideas
Forums
›
Forge Discussions
›
Discussion
Extension Text
0 votes
437
download
s
Published on 14 September 2007 by OutSystems
[Extension Text] Discussion
Pedro Carvalho
Rank: #893
Posted on 2010-05-03
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
So the text extension is only avaiable for the 5.0 version along with the Enterprise Manager.. so where can i get the standalone version for the 4.1 version?
Paulo Tavares
Rank: #4
Posted on 2010-05-03
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hi Pedro.
You may download it now from the component page.
Thanks.
Best regards,
Paulo Tavares
Justin James
Rank: #23
Posted on 2010-09-27
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Some notes on String_Split and the "Delimiters" parameter: it is indeed possible to have it operate on more than one delimiter! But... it is not possible to have a multi-character delimiter. In short, each character in the the "Delimiters" parameter gets used as a delimiter for the split. For example, with "Delimiters" equal to:
NewLine() + ", "
... the string will be split on a newline character, a comma, or a space. But if you have a string with a comma followed by a space (for example: "Bob, Henry") you would get an empty string as one of the outputs ("Bob", "", "Henry"). Best practice (in my experience) is when iterating over the results, to skip to the next iteration if the current value is equal to "".
J.Ja
Eric Oud Ammerveld (Running PS version 7.0.1.7)
Rank: #36
Posted on 2010-09-27
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hi Justin,
Is it possible for you guys to implement a bit or regexp for that part in order to make the string split cope with a
multicharacter delimiter?
E.g.
In order to split on a carriage return followed by a newline, a %, a $ or a NewLine() type
["\r\n"|"%"|"$"|NewLine()]
Justin James
Rank: #23
Posted on 2010-09-27
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Eric -
I didn't write it, I just looked at the source code to figure out how it worked since I couldn't find documentation on "Delimiters". :)
That being said, for this need, you could create one that uses a regex fairly easily in Integration Studio. Maybe I'll whip one up over the next few days and add it to my suite of "Really Useful Extensions" that I need to post up here one day. I also need to post my Entity that has all of the countries in it, that was 2 hours of typing no one needs to repeat...
J.Ja
Eric Oud Ammerveld (Running PS version 7.0.1.7)
Rank: #36
Posted on 2010-09-27
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
2 hours of typing?
You mean a data dump from one of these webservices?
http://www.webservicex.net/country.asmx
Justin James
Rank: #23
Posted on 2010-09-27
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Eric -
Yup, I typed it all in myself. That Web service isn't coming up (good reason to not count on it, at least for real time...). I could have found an easier way to get it in (this was done pre-IntelliWarp), but sometimes it's easier to just do something the boring way than to waste time doing it a fancy way. In this case, I just did a ton of copy/paste while overseeing the patching of a bunch of servers. :)
J.Ja
Eric Oud Ammerveld (Running PS version 7.0.1.7)
Rank: #36
Posted on 2010-09-27
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Totally true; I have also typed my way through a static MimeType table. :)
Still weird that i.e. the
UN
or
ISO
/
NEN
don't have a central webservice repo containing this 'global' information.
I know the EU has some but they are meant for a 'once a week download only'.
Quick Reply
Notify me by email when someone answers to my post
attachment
Choose File
No file chosen
Submit
Login to reply
Something on your mind?
Login to Start a Discussion
Top Forums Posters
Gonçalo Martins
Davide Marquês
Ricardo Silva
Charles Colaço
Richard Pearson
Statler & Waldorf
Fábio Silva
Justin James
Robert Chanphakeo
Kilian Hekhuis
See leaderboard
Online Training
On-demand video lessons to help you learn at your own pace.
Learn More