pub fn new_string_n(string: &str, length: J) -> KExpand description
Constructor if q string object with a fixed length.
ยงExample
use kdbplus::api::*;
#[no_mangle]
pub extern "C" fn create_string2(_: K) -> K{
new_string_n("The meeting was too long and I felt it s...", 24)
}q)speak_inwardly: libc_api_examples 2: (`create_string2; 1);
q)speak_inwardly[]
"The meeting was too long"