length
Character Count Tag, by Asty' Counts for words, individual characters and characters including spaces. Will ignore double spaces.
Sharedunrated
Content
25 lines{=(words):{index($&):{args} $&}}
{=(spargs):{replace(, ):{args}}}
{=(chars):{index($&):{spargs} $&}}
{=(spargs):{replace(, ):{args}}}
{=(charsi):{index($&):{spargs} $&}}
{=(Comment):Ignore this part. It was me trying to hardcode the number of spaces, while it can just be words-1.}
{=(spaelse):{replace( ,!%):{args}}}
{=(space):{m:trunc({index({spaelse(-1):!%}):{args}}+1)}}
{=(spaces):{m:trunc({words}-1)}}
{=(chars):{m:trunc({charsi}+{spaces})}}
{=(msg):Your message contains **{words}** words, **{charsi}** individual characters and **{chars}** total characters, including spaces.}
{=(title):Your message contains:}
{=(emsg):
**{words}** words
**{charsi}** individual characters
**{chars}** characters, including spaces
}
{=(footer):Character Counter Tag, by Asty'}
{embed(color):{user(color)}}Embed
1 line{"color": 5198940, "author": {"name": "{title}"}, "footer": {"text": "{footer}"}, "description": "{emsg}"}Raw JSON
{
"id": 111603,
"created_at": "2020-01-22T08:31:09.000Z",
"tag_name": "length",
"nsfw": false,
"owner_id": "149926720114262016",
"uses": 43,
"description": "Character Count Tag, by Asty'\n\nCounts for words, individual characters and characters including spaces.\nWill ignore double spaces.",
"restricted": false,
"shared": true,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "314660900302749696",
"sharer": "149926720114262016",
"content": "{=(words):{index($&):{args} $&}}\n{=(spargs):{replace(, ):{args}}}\n{=(chars):{index($&):{spargs} $&}}\n{=(spargs):{replace(, ):{args}}}\n{=(charsi):{index($&):{spargs} $&}}\n\n{=(Comment):Ignore this part. It was me trying to hardcode the number of spaces, while it can just be words-1.}\n{=(spaelse):{replace( ,!%):{args}}}\n{=(space):{m:trunc({index({spaelse(-1):!%}):{args}}+1)}}\n\n{=(spaces):{m:trunc({words}-1)}}\n{=(chars):{m:trunc({charsi}+{spaces})}}\n\n{=(msg):Your message contains **{words}** words, **{charsi}** individual characters and **{chars}** total characters, including spaces.}\n\n{=(title):Your message contains:}\n\n{=(emsg):\n**{words}** words\n**{charsi}** individual characters\n**{chars}** characters, including spaces\n}\n{=(footer):Character Counter Tag, by Asty'}\n\n{embed(color):{user(color)}}",
"embed": "{\"color\": 5198940, \"author\": {\"name\": \"{title}\"}, \"footer\": {\"text\": \"{footer}\"}, \"description\": \"{emsg}\"}",
"last_fetched": "2026-10-20T20:53:37.782Z"
}