type.string.capitalize
0.000001

Capitalizes a string.

Arguments
no defined arguments
Return Value
The capitalized string.
something went wrong :(
Capitalizing 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.capitalize.call(
  "hello"
)
client.type.string.capitalize.call(
  "hello"
);
curl "https://proc.run/type/string/capitalize" --silent \
--header "authorization: bearer $authorization" \
--header "content-type: application/json" \
--data '"hello"'
 

Hello


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