Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 3.75 KB

File metadata and controls

34 lines (24 loc) · 3.75 KB

string()

String

string() indicates that a value must be a string to be valid. All CSV values start as strings so this function can be expected to return True unless there is a notnone or length constraint violation.

To set a min length without setting a max length use a none() argument for max. E.g. to set a string of length greater than or equal to 5 do: string(none(), 5).

Data signatures
string( value: $${\color{green}str}$$ ǁ $${\color{green}None}$$ ǁ '', [max len: $${\color{green}int}$$], [min len: $${\color{green}int}$$] )
Call signatures
string( value: Header ǁ Variable ǁ Function ǁ Reference, [max len: Term], [min len: Term] )
Purpose Value
Main focus string() determines if lines match
Type String is a line() schema type
Context Qualifier
Match qualifiers onmatch, notnone, distinct
Value qualifiers onmatch

[Back to index]