Skip to main content
Glama
03.string.md606 B
--- title: "字符串函数" date: "2022-01-30T10:24:10.000Z" permalink: "/pages/function/string/" --- # uuid * 返回值: String 32位无-的UUID return uuid(); // 等同于 UUID.randomUUID().toString().replace("-", ""); # is_blank * 入参:target:String 判断的目标 * 返回值: boolean * 函数说明:判断字符串是否为空 return is_blank(''); // true 等同于 StringUtils.isBlank 一致 # not_blank * 入参:target:String 判断的目标 * 返回值: boolean * 函数说明:判断字符串是否不为空 return not_blank(''); // false 等同于 !is_blank('')

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Dwsy/magic-api-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server