List of utility methods to do Array Last Index Of
int | lastIndexOfRef(T[] ary, int off, int len, T value) last Index Of Ref for (int i = off + len - 1; i >= off; i--) { if (ary[i] == value) { return i; return -1; |
int | lastIndexOfTrim(byte[] raw, char ch, int pos) last Index Of Trim while (pos >= 0 && raw[pos] == ' ') pos--; while (pos >= 0 && raw[pos] != ch) pos--; return pos; |