#base64->decode() → string
보관 중인 텍스트입니다(UTF-8로 읽습니다).
예시
<let name="x" type="base64" value="'aGVsbG8gd29ybGQ='" />
<echo>{ $x->decode() }</echo>$x: base64 = 'aGVsbG8gd29ybGQ='
echo $x->decode()필드는 값에 관한 단순한 정보로, 대괄호 없이 점으로 읽어요: $value.name. 메서드는 인수를 받거나 작업을 수행하며, ->로 호출하거나 $value->name(arguments)처럼 값을 파이프로 넘겨서 호출해요: $value |> name(arguments).
| 필드 | 타입 | 설명 |
|---|---|---|
.bytes | number | 보유한 바이트 수입니다. |
base64->decode() → string<let name="x" type="base64" value="'aGVsbG8gd29ybGQ='" />
<echo>{ $x->decode() }</echo>$x: base64 = 'aGVsbG8gd29ybGQ='
echo $x->decode()->convert(from?: 'json'|yaml|'csv'|'markdown'|'latex', to?: 'json'|yaml|'csv'|html|'markdown'|'latex', header?: bool, as?: type, headers?: list, indented?: bool)->from(type: 'json'|yaml|'csv'|'markdown'|'latex', header?: bool, as?: type)->is_a(type: word)->is_null()->or(fallback)->to(type: 'json'|yaml|'csv'|html|'markdown'|'latex', headers?: list, indented?: bool)->to_string()->type()->contains(text, ignore_case?: bool)->count()->ends_with(text, ignore_case?: bool)->escape()->index_of(text, ignore_case?: bool, last?: bool)->markdown_escape()->matches(pattern: regex)->pad(width: number, char?, start?: bool)->slice(start: number, end?: number)->starts_with(text, ignore_case?: bool)->truncate(length: number, suffix?)->url_encode()