Added functions for string measurement

No more than function prototypes currently. Return 0 only.