Skip to content
jehna edited this page Jul 20, 2013 · 2 revisions

Description: Add a string to the expression

Parameter Description
String value The string to be looked for

Example: The following will replace all dots with the word "Stop.".

var my_paragraph = "Lorem ipsum. Dolor sit amet. Consectetur adipisicing elit.";
my_paragraph = VerEx().then( "." ).replace( my_paragraph, ". Stop." );

/* Outputs:
Lorem ipsum. Stop. Dolor sit amet. Stop. Consectetur adipisicing elit. Stop.
*/
Clone this wiki locally