Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding letter to a Text file

Status
Not open for further replies.

sabetik

IS-IT--Management
Nov 16, 2003
80
GU
I have the following code:

str=mid(s,2,len(s)-1)
fh4=trim(mid(str,21,15)) 'Part_No
pn=mid(fh4,1,5)&"-"&mid(fh4,6,5)&"-"&mid(fh4,11,5)
if right(pn,1)="-" then
pn=left(pn,11)
end if
the display will be: PT420-00045.

now I like to add a letter "E" to the out put disdlay

EPT420-00045

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top