Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/Linen-dev/linen.dev
/ clean
Method
clean
packages/llm/src/utils/string.ts:2–4 ·
view source on GitHub ↗
(text: string)
Source
from the content-addressed store, hash-verified
1
export
default
class
StringUtils {
2
static clean(text: string) {
3
return
text.split(
'#'
).shift().replace(/[^A-Za-z0-9\s]/g,
''
)
4
}
5
}
Callers
3
run
Function · 0.80
getDocuments
Method · 0.80
write
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected