Front and back-end implementations accurately intercept the specified length string (considering full-width half-width)