## 28.12 Strings

`toAtom`

  > `{Tk.string.toAtom` `+S``` `?A``}`

  Returns an atom corresponding to the string `S`.

`toInt`

  > `{Tk.string.toInt` `+S``` `?IB``}`

  Returns an integer corresponding to the string `S`. If `S` does not form a valid number, `false` is returned.

`toFloat`

  > `{Tk.string.toFloat` `+S``` `?FB``}`

  Returns a float corresponding to the string `S`. If `S` does not form a valid number, `false` is returned.

`toListString`

  > `{Tk.string.toListString` `+S``` `?Ss``}`

  Returns a list of strings that corresponds to the space separated substrings of `S`.

`toListAtom`

  > `{Tk.string.toListAtom` `+S``` `?As``}`

  Returns a list of atoms that corresponds to the space separated substrings of `S`.

`toListInt`

  > `{Tk.string.toListInt` `+S``` `?IBs``}`

  Returns a list of integers that corresponds to the space separated number strings of `S`. If one of the substrings does not form a valid number, the element will be `false` rather than an integer.

`toListFloat`

  > `{Tk.string.toListFloat` `+S``` `?FBs``}`

  Returns a list of floats that corresponds to the space separated number strings of `S`. If one of the substrings does not form a valid number, the element will be `false` rather than a float.