String

String -- the class of all strings.

A string is thing which contains a sequence of characters (bytes). A string is normally entered as a sequence of characters surrounded by quotation marks.

i1 : "abcd"

o1 = abcd

o1 : String

For an alternate method of entering strings which does not involve any escape sequences, see ///.

A net is a two-dimensional array of characters, and strings are regarded as a type of net. See Net.

Operations on strings:

  • String # ZZ -- getting a character from a string
  • # -- length of a string
  • String | String -- concatenation
  • ascii -- ASCII conversion
  • substring -- substring extraction
  • concatenate -- concatenation
  • characters -- extraction of characters
  • unhex -- translate key strings from web browsers
  • transnet -- convert integers into network order
  • match -- match patterns

  • topindexpreviousupnext