Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Behaviour of String.split()
Behaviour of String.split() [message #572330] Wed, 05 August 2009 13:15
Eclipse UserFriend
Originally posted by:

Behaviour of the operation split on the class String is curious. The
following output is generated from a simple model transformation:

This input (within my ETL file):

Provides this output (in the console window):
[epsilon.etl - IndeFile2NetworkInitialisationDataCatalogue.etl] Running
ETL file
[epsilon.etl - IndeFile2NetworkInitialisationDataCatalogue.etl] 1234.5678
[epsilon.etl - IndeFile2NetworkInitialisationDataCatalogue.etl] Sequence {}
[epsilon.etl - IndeFile2NetworkInitialisationDataCatalogue.etl] 1234-5678
[epsilon.etl - IndeFile2NetworkInitialisationDataCatalogue.etl] Sequence
{1234, 5678}
[epsilon.etl - IndeFile2NetworkInitialisationDataCatalogue.etl]
Completed ETL file

There appears to be something odd with the behaviour of the split()
operation when the string delimiter is the point character '.', should I
be calling this operation differently?

Best Wishes
Previous Topic:[ETL/EOL][newbie] Dealing with EFeatureMapEntry?
Next Topic:[ETL/EOL][newbie] Dealing with EFeatureMapEntry?
Goto Forum:

Current Time: Thu Nov 26 00:21:42 GMT 2015

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

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