I'm creating shop like app with Flex frontend and Drupal 7 backend for our offline retail sotres (it started from simple products availability DB, so I don't wanted to pay for monster all-in-one commercial soft). The point is now it grew up to many lines of code and I wanted to move to AMFservice for Services 3 module to send typed data to Flex...
So the problem is all my custom created fields for nodes is names as 'field_NAME' and it meens I need them in Flex ValueObjects to be same named and the code loses it's redability... use product.title, but ca'nt use product.price... use user.name, but can't use user.phone...
I definenly need to get those 'field_' prefixes out! So you here is a function to remove them.