Search and Replace

by Todd Philipps <todd(at)anvil-group.com>

 Date:  Sun, 04 Jun 2000 21:28:12 -0500
 To:  hwg-languages(at)hwg.org
 In-Reply-To:  ibm
  todo: View Thread, Original
A coworker is looking for the correct perl commands to do the following:

Search a string to see if it ends with a specific character.  If found she
needs to strip the last character off.

IE.  if string="113E" then she wants to print some stuff then she wants
string to equal "113"

Sorry for the brief description.  If anyone needs more info, feel free to
contact me.

Thanks,
Todd.

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA