Syntax
Splits the STRING into the ARRAY on the REGEX (regular expression), and returns the number of fields as COUNT. If REGEX is omitted, FS (field separator) is used instead. The ARRAYNAME is cleared first. Splitting behaves identically to field splitting.
Examples
c=4 aname[1]="ABC" aname[2]="123" aname[3]="XYZ" aname[4]="789"