In this paper, we consider a charged superstring stretched between two angled nonintersecting D-branes. Also, we take into account the constant two-dimensional electromagnetic field on the D-branes. In type II superstrings, we obtain the mass spectrum of the superstring. The noncommutativity between X1 and X2 coordinates at the string’s endpoints is described by the variable θ.