摘要:
--中英文、中英标点及数字按视觉长度分割unit TextSplitByVisualWidth; interface uses System.SysUtils, System.Classes, System.Character; type TVisualTextSplitter = class pu 阅读全文
posted @ 2026-01-30 19:21
绿水青山777
阅读(5)
评论(0)
推荐(0)
摘要:
--中英文按视觉长度分割unit TextSplitHelper; interface uses System.SysUtils, System.Classes, System.Character; type TTextSplitHelper = class public // 按指定视觉长度分割中 阅读全文
posted @ 2026-01-30 19:20
绿水青山777
阅读(4)
评论(0)
推荐(0)
摘要:
function IsChinesePunct(const c: Char): Boolean;var charCode: Integer;begin charCode := Ord(c); // 匹配中文标点的核心Unicode区间 Result := (charCode >= $3000) an 阅读全文
posted @ 2026-01-30 17:02
绿水青山777
阅读(1)
评论(0)
推荐(0)

浙公网安备 33010602011771号