public static int delete(char s[], int pos, int len) {assert pos < len;if (pos < len - 1) { System.arraycopy(s, pos + 1, s, pos, len - pos - 1);}return len - 1;}

public static int delete ( char s [ ] , int pos , int len ) { assert pos < len ; if ( pos < len - 1 ) { System . arraycopy ( s , pos + 1 , s , pos , len - pos - 1 ) ; } return len - 1 ; }
public static int Delete(char[] s, int pos, int len){Debug.Assert(pos < len);if (pos < len - 1) {Array.Copy(s, pos + 1, s, pos, len - pos - 1);}return len - 1;}
