Skip to main content



      Home
Home » Eclipse Projects » Sirius » How to aggregate a sequence of strings in AQL?
How to aggregate a sequence of strings in AQL? [message #1832557] Mon, 21 September 2020 04:00 Go to next message
Eclipse UserFriend
Hi

For example I need to convert the following sequence into a single string: aql:Sequence{'He', 'llo', ' ', 'world'}

Is the an analogue of OCL's iterate() operation in AQL?

It it posible to write a custom Java service taking a collection as a first argument instead of EObject's sub-type?

[Updated on: Mon, 21 September 2020 04:03] by Moderator

Re: How to aggregate a sequence of strings in AQL? [message #1832569 is a reply to message #1832557] Mon, 21 September 2020 04:52 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
Maybe something like Quote:
aql:Sequence{'He', 'llo', ' ', 'world'}->toString()

Regards,
Laurent
Re: How to aggregate a sequence of strings in AQL? [message #1832572 is a reply to message #1832569] Mon, 21 September 2020 05:03 Go to previous message
Eclipse UserFriend
Thanks!

I didn't even thought that it will be so simple.
Previous Topic:Rotate text in pivot table header by 90 degrees
Next Topic:Unable to edit multiline AQL expression
Goto Forum:
  


Current Time: Tue Jun 24 00:28:37 EDT 2025

Powered by FUDForum. Page generated in 0.03497 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top