pub fn new_string(string: &str) -> KExpand description
Constructor of q string object.
ยงExample
use kdbplus::api::*;
#[no_mangle]
pub extern "C" fn create_string(_: K) -> K{
new_string("this is a text.")
}q)text: libc_api_examples 2: (`create_string; 1);
q)text[]
"this is a text."