[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.uml2] Tokenizing of strings in OCL ?
|
- From: Andreas Maier <maiera@xxxxxxxxxx>
- Date: Fri, 03 Nov 2006 14:54:50 +0100
- Newsgroups: eclipse.tools.uml2
- Organization: EclipseCorner
- User-agent: Thunderbird 1.5.0.7 (Windows/20060909)
I have the need to tokenize strings in OCL.
To begin with a simple task: In the string "CIM_ManagedElement", extract
the string before the first underscore, and the string after the first
underscore. The length of the first string is arbitrary, and there may
be more than one underscore. The character set is Unicode.
How can this be done in OCL ?
Andy