You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Joey Moore (Jira)" <ji...@apache.org> on 2023/05/02 20:42:00 UTC

[jira] [Created] (CALCITE-5682) In ByteString, add lastIndexOf method

Joey Moore created CALCITE-5682:
-----------------------------------

             Summary: In ByteString, add lastIndexOf method
                 Key: CALCITE-5682
                 URL: https://issues.apache.org/jira/browse/CALCITE-5682
             Project: Calcite
          Issue Type: Bug
            Reporter: Joey Moore


In ByteString, add these methods
 * int lastIndexOf(int ch)
 * int lastIndexOf(int ch, int fromIndex)
 * int lastIndexOf(String str)
 * int lastIndexOf(String str, int fromIndex)

These should have the same functionality as the like named [String functions|https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html#lastIndexOf(int)]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)