Skip to main content

Creating & Conversion

10
  • char

    Coerce to char

  • format

    Formats a string using goog.string.format.

  • keyword

    Returns a Keyword with the given namespace and name. Do not use : in the keyword strings, it will be added automaticall...

  • name

    Returns the name String of a string, symbol or keyword.

  • parse-boolean

    Parse strings "true" or "false" and return a boolean, or nil if invalid. Note that this explicitly excludes strings with...

  • parse-double

    Parse string with floating point components and return a floating point value, or nil if parse fails. Grammar: https://d...

  • parse-long

    Parse string of decimal digits with optional leading -/+ and return an integer value, or nil if parse fails

  • parse-uuid

    Parse a string representing a UUID and return a UUID instance, or nil if parse fails. Grammar: https://docs.oracle.com/j...

  • str

    With no args, returns the empty string. With one arg x, returns x.toString(). (str nil) returns the empty string. With ...

  • symbol

    Returns a Symbol with the given namespace and name. Arity-1 works on strings, keywords, and vars.