This site uses JavaScript, but it seems to be unavailable.Some functionality may therefore be broken.
lenstr: converts the length of the character string into an integer.
lenstr:(string)
string is a character string not containing a comma, parentheses or square brackets.
string
N=lenstr:(ABC123) becomes N=6 on output. M=lenstr:('HI THERE!') becomes M=11
Overview News Example GraphicsHistoryDocumentation Xtal Users ManualFAQDeveloper InfoRATMAC Preprocessor IntroductionLine FormatsGeneral DefinitionsPreprocessor ControlsRatmac Commands Macro InstructionsMacro Syntaxmacro:xmacro:pmacro:dmacro:arith:incr: and decr:chr: and ord:ifelse:lenstr: substr:yes: and no:string:chardata:, realdata: etc.datastuff: Defining MacrosRFP Error MessagesXtal Program Specs.Installing XtalREFERENCESRetired Program InfoDownloadExtra SoftwareSupport ContributorsCitationsYear 2000Disclaimer