Talk:System.SysUtils.AnsiPos

From RAD Studio API Documentation
Jump to: navigation, search

Character index not byte offset

The page says AnsiPos returns the byte offset, but with unicode, it returns the character index of the substring. Also, is the comment about MBCS still relevant? And, is AnsiPos now the same as Pos? The Help should clarify which should be used or whether it matters. Davidmarcus 14:10, 21 December 2011 (PST)