Add a section on using slices.
PR: 22996 Submitted by: Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>