code: private boolean expandCompositCharAtBegin(char[] dest,int start, int length,
                              int lacount) {
       boolean spaceNotFound = false;
  
       if (lacount > countSpacesRight(dest, start, length)) {
           spaceNotFound = true;
           return spaceNotFound;
       }
       for (int r = start + length - lacount, w = start + length; --r >= start;) {
           char ch = dest[r];
           if (isNormalizedLamAlefChar(ch)) {
               dest[--w] = LAM_CHAR;
               dest[--w] = convertNormalizedLamAlef[ch - '\u065C'];
           } else {
               dest[--w] = ch;
           }
       }
       return spaceNotFound;
  
    }
docs: /*
  Name     :expandCompositCharAtBegin
  Function :Expands the LamAlef character to Lam and Alef consuming the required
  space from beginning of the buffer. If the text type was visual_LTR
  and the option SPACES_RELATIVE_TO_TEXT_BEGIN_END was selected
  the spaces will be located at end of buffer.
  If there are no spaces to expand the LamAlef, an exception is thrown.