Skip to content

Xcalc: Utility Functions

Read Stanton edited this page Dec 21, 2020 · 12 revisions

Utility Functions

str_contains(str, find)

  • String contains function

  • Type: Function

  • Determines whether str contains substring find

str_list(str)

  • Converts str to a list

  • Type: Function

  • Returns str as a list

ls_str(list)

  • Converts list to a string

  • Type: Function

  • Stores result in global variable rgstr_val

str_char_at(str, i)

  • Type: Function

  • Returns the char (as string) at i in str

parse_fn(function)

  • Type: Program

  • Stores function into f(x)

Clone this wiki locally