expressions: Implement the REPLACE string function.
[pspp] / src / language / expressions / helpers.h
index 570cf132341e2aa748a8a9deecb7ec2bbe98ef40..51e1db0329a1bf3d8cd7c83f72e3023aadf5b6a1 100644 (file)
@@ -14,8 +14,8 @@
 #include "data/case.h"
 #include "data/data-in.h"
 #include "data/data-out.h"
+#include "data/dataset.h"
 #include "data/dictionary.h"
-#include "data/procedure.h"
 #include "data/settings.h"
 #include "data/value.h"
 #include "data/variable.h"
@@ -81,4 +81,12 @@ double cdf_bvnor (double x0, double x1, double r);
 
 double idf_fdist (double P, double a, double b);
 
+double round_nearest (double x, double mult, double fuzzbits);
+
+struct substring replace_string (struct expression *,
+                                 struct substring haystack,
+                                 struct substring needle,
+                                 struct substring replacement,
+                                 double n);
+
 #endif /* expressions/helpers.h */