perl substituion

From: Anish Kumar K. (anish_at_vitalect-india.com)
Date: 01/28/05


To: "beginners perl" <beginners@perl.org>
Date: Fri, 28 Jan 2005 16:59:09 +0530

Say I have a string called returned from the text file..

Hi $name- welcome to the world of $Logs. Country is $country. Time is $time

I am getting this from the text file and then in the program

I am printing this out. with its correponding values..

Say

Hi Anish- welcome to the world of perl. Country is Mexico. time is 12.40 AM

I could very well use substition for the variables individually. But it will be nice If I could
substitute this at bulk..

please help me to do this
Thanks
Anish



Relevant Pages

  • Re: printing on the right side of paper
    ... and print the string as it provided better measurement for this. ... default StringFormat used in MeasureString some padding around the string ... You will also need to consider printer hard margins when printing as 0,0 ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Word Wrap while Printing
    ... To get the # of lines used for the wrapped printing you can use the ... MeasureString method that takes a SizeF argument (#7 of 7 in my Intellisense ... printing in and, of course, use the same StringFormat as the DrawString ... of the string the string would be truncated on output. ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Print current selected record to a report
    ... Ok, I got it printing out the current record ok now, but it won't print out ... Dim stDocName As String ... DoCmd.OpenReport "rptFinancialAssesment",,, strWhere ...
    (microsoft.public.access.formscoding)
  • Re: printing variable problems
    ... Marco van de Voort said ... printing a string that is prefixed with a given number of space ... characters, does not always start at the same position? ...
    (comp.lang.pascal.borland)
  • Re: Probably simple problem with networking
    ... printing over 300 blank characters, ... You may want to truncate your string to the ...
    (microsoft.public.dotnet.languages.csharp)