def truncate(self, str):
        if len(str) > 24:
            str = str[:22] + "..."
        return str
Return detection of an Opera browser for a mobile device
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/version_prop.py/QVersionPropOverlay.truncate--crossover with--dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/mdetect.py/UAgentInfo.detectOperaMobile