Extract a subarray from an array by eliminating certain rows and columns

Ok…I just figured out a relatively easy way to do this by myself.

All_index = collect(1:size(A,1))
R1 = deleteat!(All_index, R)
C1 = deleteat!(All_index, C)
A = [:, C1]
A = [R1, :]

Not sure whether there is a more efficient or build-in method to do this kind of things.