On Jun 7, 2006, at 4:50 PM, [EMAIL PROTECTED] wrote:
On Jun 07, 2006, at 21:44 UTC, Sven E Olsson wrote:
The RB RegEx class looks to return only the BytePosition, is there
some other RegEx class to be used in RB that also return the real
character position ?
No, you just convert yourself, pretty much the same way the RegEx
class would have to do in order for it to return a character position:
charPos = Len( Left(s, bytePos) )
Although you probably would want to use LeftB.
HTH,
Jon
--
Jonathan Johnson
REAL Software, Inc.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>