source/Core/Str.php
public static function getStr()
    {
        if (!isset(self::$_oHandler)) {
            //let's init now non-static instance of oxStr to get the instance of str handler
            self::$_oHandler = oxNew(\OxidEsales\Eshop\Core\Str::class)->_getStrHandler();
        }

        return self::$_oHandler;
    }
public static function getStr()
    {
        if (!isset(self::$_oHandler)) {
            //let's init now non-static instance of oxStr to get the instance of str handler
            self::$_oHandler = oxNew(\OxidEsales\Eshop\Core\Str::class)->_getStrHandler();
        }

        return self::$_oHandler;
    }
public static function getStr ( ) { if ( ! isset ( self :: $ _oHandler ) ) { //let's init now non-static instance of oxStr to get the instance of str handler self :: $ _oHandler = oxNew ( \ OxidEsales \ Eshop \ Core \ Str :: class ) -> _getStrHandler ( ) ; } return self :: $ _oHandler ; }
Static method initializing new string handler or returning the existing one.

@return StrRegular|StrMb
Static method initializing new string handler or returning the existing one .