|
|
|
|
Re: ocl contains operations over strings [message #923093 is a reply to message #923023] |
Tue, 25 September 2012 11:39  |
Eclipse User |
|
|
|
Hi
The OCL string library has been gradually improving.
The Juno release of Eclipse OCL has further String functions such as
regex. See the Help documentation.
Regards
Ed Willink
On 25/09/2012 15:44, Pablo Silva wrote:
> Hi friends,
>
> leveraging the post I would like to know if have way to know if a
> string has a substring.
>
> For example to know if string: 'return 123+996*oldVar' has substring
> 'return'
>
> If you can help me, I thank you.
> I already tried formulate the expression but I had no success.
>
> Thank you for the help and I'm sorry about the english.
>
> Pablo.
|
|
|
Powered by
FUDForum. Page generated in 0.02350 seconds