Files
marqdo/public/keywords/stdlib.mq.md
T
cflmyandCursor b5c07385e9 feat(markup): finish v0.3 stock migration and green gold
Migrate remaining .mq.md (tests/ext/public/examples), stop elevating local assigns to params, inject form_target in Go libweb, and skip live LLM gold without a real key.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 23:43:44 +08:00

494 B

title, description
title description
Built-ins len / str / int / type / trim / split / join / at Host builtins for strings and tables

main

Length and type:

s = "hello"

n = > len s

print text=n

ty = > type s

print text=ty

Trim, split, join, and index:

t = > trim value=" hi "

parts = > split value="a,b" sep=","

mid = > at value=parts index=0

j = > join value=parts sep="-"

print text=t

print text=mid

print text=j