Diff for /parser3/src/classes/string.C between versions 1.265 and 1.267

version 1.265, 2026/01/06 16:36:39 version 1.267, 2026/04/25 13:38:46
Line 1 Line 1
 /** @file  /** @file
         Parser: @b string parser class.          Parser: @b string parser class.
   
         Copyright (c) 2001-2024 Art. Lebedev Studio (http://www.artlebedev.com)          Copyright (c) 2001-2026 Art. Lebedev Studio (https://www.artlebedev.com)
         Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru>          Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru>
 */  */
   
Line 65  static const String match_var_name(MATCH Line 65  static const String match_var_name(MATCH
 // methods  // methods
   
 static void _length(Request& r, MethodParams&) {  static void _length(Request& r, MethodParams&) {
         double result=GET_SELF(r, VString).string().length(r.charsets.source());          double result=(double)GET_SELF(r, VString).string().length(r.charsets.source());
         r.write(*new VDouble(result));          r.write(*new VDouble(result));
 }  }
   

Removed from v.1.265  
changed lines
  Added in v.1.267


E-mail: