Question: Is there a function to remove the last cell from array?

it's a string array like: `{"a","b","c",""}`.

Answer: 
The length of an array is immutable, but you can create a new array without the empty `""` strings:

```
string[] newArray = myArray.Where(str => str != "").ToArray();

```
An array is a fixed-size collection object. That makes it woefully inadequate for what you want to do. The best you could do is create *another* one with one less element. That's expensive.

Fix the real problem, this should be a `List<string>`, now it's simple.