[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.uml2] Tokenizing of strings in OCL ?

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