aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/v/gen/js/tests/testdata/string_methods.v
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/old/vlib/v/gen/js/tests/testdata/string_methods.v')
-rw-r--r--v_windows/v/old/vlib/v/gen/js/tests/testdata/string_methods.v3
1 files changed, 3 insertions, 0 deletions
diff --git a/v_windows/v/old/vlib/v/gen/js/tests/testdata/string_methods.v b/v_windows/v/old/vlib/v/gen/js/tests/testdata/string_methods.v
new file mode 100644
index 0000000..1594b48
--- /dev/null
+++ b/v_windows/v/old/vlib/v/gen/js/tests/testdata/string_methods.v
@@ -0,0 +1,3 @@
+println('d Hello V developer'.trim_left(' d'))
+println(' Hello V d'.trim_right(' d'))
+println('WorldHello V'.trim_prefix('World'))