"String" (Compiled Type)
"String"
represents a string type specifier.
Details
- "String" can be used in Typed and related constructs to specify a type.
Properties
- The characters stored in a "String" type value are the same as those in a String expression.
Constructors
- CreateTypeInstance["String",cstr,len] creates a string from a C string cstr with length len. cstr can have type "CString" or "Managed"::["CString"].
- CreateTypeInstance["String",cstr] creates a string from a null-terminated C string cstr.
Conversions
- "String" objects can be converted to and from String expressions.
- Strings can be cast to "Managed"["CString"] objects.
Expressions
"CString"
Examples
Basic Examples (1)
"String" can be used as input and output from a CompiledCodeFunction: