Difference between revisions of "ReplaceAll Command"

From GeoGebra Manual
Jump to: navigation, search
(Created page with "<noinclude>{{Manual Page|version=5.0}}</noinclude> {command|text} ;ReplaceAll( <Text>, <Text to Match>, <Text to Replace> ) :Replaces text. :{{Example|1=<code>ReplaceAll("3cos...")
 
Line 1: Line 1:
<noinclude>{{Manual Page|version=5.0}}</noinclude> {command|text}
+
<noinclude>{{Manual Page|version=5.0}}</noinclude> {{command|text}}
 
;ReplaceAll( <Text>, <Text to Match>, <Text to Replace> )
 
;ReplaceAll( <Text>, <Text to Match>, <Text to Replace> )
 
:Replaces text.
 
:Replaces text.
 
:{{Example|1=<code>ReplaceAll("3cos(t)+cos(2y)", "cos", "sin")</code> gives <code>"3sin(t)+sin(2y)"</code>.}}
 
:{{Example|1=<code>ReplaceAll("3cos(t)+cos(2y)", "cos", "sin")</code> gives <code>"3sin(t)+sin(2y)"</code>.}}

Revision as of 18:08, 1 December 2020

© 2022 International GeoGebra Institute