Rachelint commented on issue #12387:
URL: https://github.com/apache/datafusion/issues/12387#issuecomment-2337672517

   Seems we can get the index through this way:
   - Convert the originanl `str1`  to `ptr1(*const [u8])` first.
   - Then we use `trim_xxx_matches` first to get the `str2`.
   - Convert the `str2` to `ptr2(*cosnt [u8])`, and we get the index through 
`ptr1 - ptr2`?
   
   Maybe I can try it.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to