[futurebasic] Drop the .suffix

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2000 : Group Archive : Group : All Groups

From: Jim Henson <vegasswede@...>
Date: Thu, 15 Jun 2000 13:56:43 -0700
Afternoon Folks,

This FN puts the "Page" number and the PICT's Name into Edit Field 2 ..
No Problem

BUT .. A lot of names are suffixed after a period

Such as: Smoky Bear.PICT

How can I make it "Drop The Period And The Suffix Following It"

LOCAL FN PgNumberAndPictName
  TEXT _sysFont,12,0
  temp$ = " pg " + STR$(gCurRecord%) + " Of " ¬
  + STR$(gPictCount%) + " * " + gCurRecordName$
  CALL RGBBACKCOLOR (gMyColor(7))
  EDIT$(2) = temp$
END FN

Jim Henson,The Vegas Swede, (^_^) s aplenty

Las Vegas is the Number One Fun Capital Of The World
An Oasis Dedicated To Around The Clock Entertainment
Come Often, Enjoy Its Many Pleasures, Stay A Spell
And Bring Lots Of Money, Help Keep Nevada Green