前后台实现精确截取指定长度字符串考虑全角半角 Front and back-end implementations accurately intercept the specified length string (considering full-width half-width)