type.string.prepend0.000001
Prepends a value to a string.
Arguments
valuerequired
The value to prepend to the given string.Return Value
The string with given value prependedsomething went wrong :(
Prepending one string to another
Setup
authorization=PROCAUTH
require "proc"
client = Proc.connect("PROCAUTH")
const Proc = require("@proc.dev/client");
const client = Proc.connect("PROCAUTH");
client.type.string.prepend.call(
"world", value: "hello"
)
client.type.string.prepend.call(
"world", {value: "hello"}
);
curl "https://proc.run/type/string/prepend?value=hello" --silent \
--header "authorization: bearer $authorization" \
--header "content-type: application/json" \
--data '"world"'
helloworld
Stuck? Want to chat about an idea? Join the community on Discord.