Protection · Value
Share of capitals
How much of a text's letters are capitals, in percent. Short texts count as 0, so OK doesn't trip it.
text.caps_share
In a flow
“Works out share of capitals whenever a step wired to it needs the answer.”
Message posted → If Share of capitals is over 70 → Delete and warn.
What it does
How much of a text's letters are capitals, in percent. Short texts count as 0, so OK doesn't trip it. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 2 values later steps can use. Find it under Protection in the palette.
When to use it
Use it to keep the server safe: how much of a text's letters are capitals, in percent. Short texts count as 0, so OK doesn't trip it.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
Typical wiring
Sockets: settings you can wire
- Text Text
-
The text to check, like {message.content}.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
Values it gives
- Percent Number
-
Capitals out of all letters, 0 to 100. 0 when it has under 8 letters. e.g. 85
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more
- Letters Number
-
How many letters it has. e.g. 40
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more