We study the influence of disorder and lattice pinning on the dynamics of a
charged stripe. Starting from a phenomenological model of a discrete quant
um string, we determine the phase diagram for this system. Three regimes ar
e identified, the free phase, the flat phase pinned by the lattice, and the
disorder pinned phase. In the absence of disordered impurities, the system
can be mapped onto a 1D array of Josephson junctions (JJ). The results are
compared with measurements on nickelates and cuprates and a good qualitati
ve agreement is found between our results and the experimental data.