🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7814

Format a String

#7814
From: Adrian
Date: Wed, 16 May 2001 04:29
6 lines
942 bytes
Is there a specific Class that can be used to place values into a
String.

ie
String s = "Hello %s how are you ?";
String ns = FormatString (s, "Adrian");  // substitute %s for Adrian
Technical Details
Message-ID: <3b020032.21421141@forums.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,5539798795b74f52,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-05-15 21:42:04 PST
From: nospam@anytime.com (Adrian)
Newsgroups: borland.public.jbuilder.java.language
Subject: Format a String
Date: Wed, 16 May 2001 04:29:43 GMT
Reply-To: nospam@anytime.com
Message-ID: <3b020032.21421141@forums.borland.com>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: 203.52.53.130
X-Trace: dnews 989987328 203.52.53.130 (15 May 2001 21:28:48 -0700)
Lines: 7
Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews