Is there a neat way to delete x characters from a string <BR>(filename prefix) ?<BR>cheers
without using instr, left, mid, etc ?? what sort of strings are u processing?
Im Using GetTempName and it returns rad******.tmp and i want to remove the rad bit
NewString = Right(OldString,Len(OldString)-3)<BR><BR>Or<BR><BR>NewString = Replace(OldString,"rad","")<BR><BR>Or ... well I can't be bothered to go through all the other ways.<BR><BR>PS way number 2 is not a good option.<BR>