playMaker

Author Topic: Format String Question  (Read 1938 times)

phannDOTde

  • Full Member
  • ***
  • Posts: 237
    • Peter Hann .de
Format String Question
« on: December 31, 2013, 01:38:47 AM »
I saw that String Format can not only be used to insert Var in a string using {N} but all so define how they apear in example to break down a shown score from "5555" to be displayed as "5.555".

Now my question - where can I find some documentation how to do that? cant find anything on the default doku in the wiki here https://hutonggames.fogbugz.com/default.asp?ixWiki=1&pg=pgSearchWiki&qWiki=title:Format%20String

Any ideas?

cheers
Peter

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Format String Question
« Reply #1 on: January 02, 2014, 05:56:59 AM »
Hi,

 this info will be found on the microsoft .net and c# in general:

http://msdn.microsoft.com/en-us/library/system.string.format(v=vs.110).aspx

http://www.dotnetperls.com/string-format

bye,

 Jean