4D View v14

PV REPLACE ALL

Home

 
4D View v14
PV REPLACE ALL

PV REPLACE ALL 


 

PV REPLACE ALL ( area ; string ; replace ; where ; contains ) 
Parameter Type   Description
area  Longint in 4D View area
string  String in String to replace
replace  String in Replacement string
where  Integer in 0 = Formulas; 1 = Values
contains  Integer in 0 = Contains; 1 = Equals

The PV REPLACE ALL command is similar to the PV REPLACE ONE command, except that it replaces the character string with the string replace in all area cells found corresponding to the query criteria defined with the where or contains parameters.

After calling this command, the first cell eventually found becomes the new current cell and the other cells found are selected.

If no replace has occurred, the active cell remains unchanged.

Example  

Make all occurrences of the "Amount" string appear in capital letters:

 PV REPLACE ALL(Area;"Amount";"AMOUNT";1;1)

 
PROPERTIES 

Product: 4D View
Theme: PV Cell manipulation
Number: 15959

 
HISTORY 

Created: 4D View 6.8

 
SEE ALSO 

PV FIND ALL
PV REPLACE ONE

 
ARTICLE USAGE

4D View Language ( 4D View v11.4)
4D View Language ( 4D View v12)
4D View Language ( 4D v13)
4D View Language ( 4D View v14 R2)
4D View Language ( 4D View v14)
4D View Language ( 4D View v14 R3)
4D View Language ( 4D View v14 R4)