User Tools

Site Tools


syntax:functions:len

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
syntax:functions:len [2021/08/02 02:59] craigtsyntax:functions:len [2021/08/14 22:16] (current) – [Examples] craigt
Line 26: Line 26:
 =====Examples===== =====Examples=====
  
-  len('Telecommunications'18 +  len('Telecommunications'//Returns 18 
-  len('Computer sciences'= 17  //Includes the space + 
-  len(' Genetics '= 10  //Includes leading and trailing spaces +  len('Computer sciences') //Returns 17  (Includes the space
-  len('Psychology' & char(9)) 11  //char(9) = tab, included in the length + 
-  len(1000000) = 7  //Implicit conversion of a numeric value to text +  len(' Genetics ') //Returns 10  (Includes leading and trailing spaces
-  len(''= 0  //An empty string has a length of 0 + 
-  len([MyClass]) = 12  //Using a field name; [MyClass] = 'Astrophysics'+  len('Psychology' & char(9)) (Returns 11  //char(9) = tab, included in the length
 + 
 +  len(1000000) //Returns 7  (Implicit conversion of a numeric value to text
 + 
 +  len('') //Returns 0  (An empty string has a length of 0
 + 
 +  len([MyClass]) //Returns 12  (Using a field name; [MyClass] = 'Astrophysics')
  
 \\  \\ 
syntax/functions/len.txt · Last modified: 2021/08/14 22:16 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki