original_string: public static function RemoveWorkingDir( string $path = null ) : string
     {
  
        if ( \is_null( $path ) )
        {
           return '';
        }
  
        $wd = '~^' . \preg_quote( static::Unixize( \getcwd() ) . '/' ) . '~';
  
        return \preg_replace( $wd, '', static::Unixize( $path ) );
  
     }
code: public static function RemoveWorkingDir( string $path = null ) : string
     {
  
        if ( \is_null( $path ) )
        {
           return '';
        }
  
        $wd = '~^' . \preg_quote( static::Unixize( \getcwd() ) . '/' ) . '~';
  
        return \preg_replace( $wd, '', static::Unixize( $path ) );
  
     }
code_tokens: public static function RemoveWorkingDir ( string $ path = null ) : string { if ( \ is_null ( $ path ) ) { return '' ; } $ wd = '~^' . \ preg_quote ( static :: Unixize ( \ getcwd ( ) ) . '/' ) . '~' ; return \ preg_replace ( $ wd , '' , static :: Unixize ( $ path ) ) ; }
docstring: Removes the current working directory from defined path, if it starts with it.
  
  @param  string $path
  @return string
docstring_tokens: Removes the current working directory from defined path if it starts with it .