I would go with the latter ( ...you guessed it...<tt>B.stringToInt</tt>!)