String Manipulation in Scripts

Hi,
If I have a string looking something like:

aaa-bbb-ccc-dddd

How can I use painless scripts to extract ccc into a new field?

Thx
D

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.