diff --git a/autotests/folding/Makefile.fold b/autotests/folding/Makefile.fold
--- a/autotests/folding/Makefile.fold
+++ b/autotests/folding/Makefile.fold
@@ -26,3 +26,11 @@
$(CC) bla.o $< \
-o bla.exe
@echo "hello"
+
+# String Substitution
+VAR := $(ANOTHER_VAR:%=%+1)
+
+rempl := x
+foo := a b c
+bar := foo
+hello := $($(bar):a=$(rempl))
diff --git a/autotests/html/Makefile.html b/autotests/html/Makefile.html
--- a/autotests/html/Makefile.html
+++ b/autotests/html/Makefile.html
@@ -32,4 +32,12 @@
$(CC) bla.o $< \
-o bla.exe
@echo "hello"
+
+# String Substitution
+VAR := $(ANOTHER_VAR:%=%+1)
+
+rempl := x
+foo := a b c
+bar := foo
+hello := $($(bar):a=$(rempl))