June 2003
Beginner to intermediate
944 pages
43h 1m
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