September 2011
Beginner
140 pages
3h 40m
English
The SUBSTITUTE function is similar to REPLACE, only here you can choose which occurrence of substring is to be replaced. For example:
=SUBSTITUTE("OpenOffice.org Is Cool! OpenOffice.org Calc Is Cool!"; "Is"; "Is Way"; 2)
returns OpenOffice.org Is Cool! OpenOffice.org Calc Is Way Cool!
Figure 10-7. Sample result of the SUBSTITUTE function
The source_text argument is the text string where you need to find a substring to be replaced with new_text. The occurrence argument is used to specify which substring ought to be replaced.
Read now
Unlock full access