Inverted 6 (1999 Shanghai College Entrance Exam Question) Find the set $A=|x||x-a|<2\}, B=$ $\left\{x \left\lvert\, \frac{2 x-1}{x+2}<1\right.\right\}$, if $A \subseteq B$, find the range of real number $a$.

---

The translation maintains the original text's formatting and structure, including the use of mathematical notation and symbols.
Solution: From the given, we have $A=|x| a-2<x<a+2|$, $B=| x|-2<x<3|$. $\because A \subseteq B$, from the number line we get
$\therefore\left\{\begin{array}{l}a-2 \geqslant-2 \\ a+2 \leqslant 3\end{array}\right.$, thus $0 \leqslant a \leqslant 1$.