| Author |
Message |
Marius
Joined: Jun 10, 2013 Posts: 51
|
Posted: Aug 23, 2013 8:05 PM Post subject: Cutting text strings |
|
Hi Jarek,
I wonder if there is any way to cut text strings by character index.
e.g. I have a 10 character string, I want to keep the first 6 characters and discard the rest. or I want to keep the last 6 characters and discard the rest
Marius |
|
 |
jarek
Joined: Oct 22, 2007 Posts: 1073
|
Posted: Aug 24, 2013 5:57 AM Post subject: |
|
Starting from version 3.049 there will be a new element: ObjectExpressionEvaluator
It will allow you do this with this expression:
((String)In1).substring(0, 6)
More info about more operation on string can be found here:
http://docs.oracle.com/javase/7/docs/api/java/lang/String.html |
|
 |
Marius
Joined: Jun 10, 2013 Posts: 51
|
Posted: Aug 24, 2013 4:56 PM Post subject: |
|
| Very good Jarek! |
|