type.string.length
0.000001

Gets the length of a string.

Arguments
no defined arguments
Return Value
The length of the given string.
something went wrong :(
Getting the length of a string
Setup
authorization=PROCAUTH
require "proc"

client = Proc.connect("PROCAUTH")
const Proc = require("@proc.dev/client");
const client = Proc.connect("PROCAUTH");
client.type.string.length.call(
  "hello"
)
client.type.string.length.call(
  "hello"
);
curl "https://proc.run/type/string/length" --silent \
--header "authorization: bearer $authorization" \
--header "content-type: application/json" \
--data '"hello"'
 

5


Stuck? Want to chat about an idea? Join the community on Discord.