38 lines
346 B
Markdown
38 lines
346 B
Markdown
---
|
|
markup: occlusion
|
|
title: len str int
|
|
description: Built-in conversions and length
|
|
---
|
|
|
|
# main
|
|
|
|
**s = "hello"**
|
|
|
|
**n = > len `s`**
|
|
|
|
> print text=`n`
|
|
|
|
`xs` =
|
|
|
|
| item |
|
|
|------|
|
|
| a |
|
|
| b |
|
|
| c |
|
|
|
|
**m = > len `xs`**
|
|
|
|
> print text=`m`
|
|
|
|
**t = > str 42**
|
|
|
|
> print text=`t`
|
|
|
|
**i = > int `t`**
|
|
|
|
> print text=`i`
|
|
|
|
**j = > int True**
|
|
|
|
> print text=`j`
|