August 2000
Intermediate to advanced
816 pages
29h 45m
English
gensub
gensub( r,s,n,t )
Substitute s for the nth match of regular expression r in the string t. Leave t unchanged, but return new string as the result. If n is “g” or “G” change all matches. If t is not supplied, it defaults to $0.
Read now
Unlock full access