Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 313765

Summary: Addition of utility operations on primitive types
Product: [Modeling] Epsilon Reporter: Chris Holmes <holmeschrisk>
Component: CoreAssignee: Dimitris Kolovos <dkolovos>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Simple operations on String, Integer, and Real primitive types none

Description Chris Holmes CLA 2010-05-20 12:47:52 EDT
Created attachment 169374 [details]
Simple operations on String, Integer, and Real primitive types

I have found the attached operations on the primitive types: String, Integer, and Real to be useful resources. Following a discussion with Dimitris I have raised this enhancement request to suggest that they (or something similar) be added to the set of default operations provided with EOL.
Comment 1 Dimitris Kolovos CLA 2010-07-07 10:53:58 EDT
Thanks Chris! The requested operations are now available natively. The only change is padTo(length:Integer,padding:String) which I've changed to pad(length:Integer,padding:String,right:Boolean). The changes have been committed to the SVN and are included in the latest interim version.
Comment 2 Dimitris Kolovos CLA 2010-11-25 08:14:54 EST
Fixed in 0.9.0.