Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1164] String format issue

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2015-03-18T01:18:43.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterBaharroth
AssigneeShuo Liang
Created2015-03-17T16:29:03.000+0000
Updated2016-03-08T07:37:32.000+0000

Description

Steps to Reproduce

Operating System Name = Mac OS X Version = 10.9.5 Node.js Node.js Version = 0.10.13 npm Version = 1.3.2 Titanium CLI CLI Version = 3.4.1 Titanium SDK SDK Version = 3.5.0.GA Target Platform = iphone On IOS8 Simulator. Just try this code (from the titanium documentation) var number = 21; var message = String.format('%d Welcome, You are visitor number ', number); Ti.API.info(message);

Actual Result

Display only '21' The format cut the rest of the string...

Expected Result

Instead of '21 Welcome, You are visitor number '

Comments

  1. Shuo Liang 2015-03-18

    Duplicate to TIMOB-18640

JSON Source