JE::Object::String(3pm)

JE::Object::String3pm

Javascript string object class

Usage

  use JE;
  use JE::Object::String;
  $j = new JE;
  $js_str_obj = new JE::Object::String $j, "etetfyoyfoht";
  $perl_str = $js_str_obj->value;

Overview

This class implements JavaScript String objects for JE. The difference between this and JE::String is that that module implements primitive string value, while this module implements the objects.

Methods

See JE::Types for descriptions of most of the methods. Only what is specific to JE::Object::String is explained here.

value

Returns a Perl scalar.

value16

Returns a Perl scalar containing a UTF-16 string (i.e., with surrogate pairs if the string has chars outside the BMP). This is here more for internal usage than anything else.

Releases

7 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8
  3. 9–10
  4. 11
  5. 12
  6. 13

From libje-perl 0.066-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.