User Tools

Site Tools


function:LENGTH

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
function:LENGTH [2019/06/24 23:22]
peternlewis
function:LENGTH [2023/09/20 02:31] (current)
peternlewis
Line 1: Line 1:
-The LENGTH() function returns the length of text that the action is operating on in actions like [the Substring action](action:​Substring_of_Variable_or_Clipboard).+====== ​LENGTH ​Function ======
  
-The LENGTH() function is a special context sensitive function that only works in a few actions, like the Apply Style action, returning the length of the processed text (so, for example, you could have the text size be dependent on the length of the text).+The LENGTH() function returns the length of text that the action is operating on. 
 + 
 +The LENGTH() function is a special context sensitive function that only works in a few actions, like the [[action:​Substring_of_Variable_or_Clipboard|Substring]] or [[action:​Apply_Style_to_Clipboard|Apply Style]] actions, returning the length of the processed text (so, for example, you could have the text size be dependent on the length of the text).
  
 LENGTH() will not give you the character count of a simple string – for that you can use the [[CHARACTERS]] function or the Character Count [[action:​Filter]]. LENGTH() will not give you the character count of a simple string – for that you can use the [[CHARACTERS]] function or the Character Count [[action:​Filter]].
 +
 +===== See Also =====
 +
 +=== Functions ===
 +
 +* [[function:​CHARACTERS|CHARACTERS]]
 +* [[:​Functions|See all Functions]]
 +
 +=== Actions ===
 +
 +* [[action:​Substring_of_Variable_or_Clipboard|Substring]]
 +* [[action:​Apply_Style_to_Clipboard|Apply Style]]
 +* [[:​Actions|See all Actions]]
  
function/LENGTH.1561432971.txt.gz · Last modified: 2019/06/24 23:22 by peternlewis