StDoodle
Minion
Hey all;
Is there a way to parse a plural item into an $item simply and quickly, if it isn't already in the "You acquire..." format? As far as I can come up with, the only way to do so (if, say, one is parsing clan stash activity) is to extract the item string, then pass it to an array with extract_items() after prepending it with the acquisition text. This seems a bit roundabout simply to recognize one pluralized item, but I'm at a loss for a better solution. Any ideas would be greatly appreciated.
-std
Is there a way to parse a plural item into an $item simply and quickly, if it isn't already in the "You acquire..." format? As far as I can come up with, the only way to do so (if, say, one is parsing clan stash activity) is to extract the item string, then pass it to an array with extract_items() after prepending it with the acquisition text. This seems a bit roundabout simply to recognize one pluralized item, but I'm at a loss for a better solution. Any ideas would be greatly appreciated.
-std