Hello members of the forum, something will not come to me how to implement a function. Its task is as follows: There are two arrays:
char[] sentence = new char[]{'袧','袝',' ','袩','袨','袥','校','效','袗','袝','孝','小','携'}; char[] gamma = new char[]{'小','袥','袨','袙','袨'}; Depending on the length of the sentence, I need to get an array of the following form:
char[] result = new char[]{'C','袥','袨','袙','袨','小','袥','袨','袙','袨','小','袥','袨'}; Does anyone have any idea how to do this better?