1.

Solve : how to trim the last 4 characters from file?

Answer»

I've been using a for loop to parse out info from a dir > list.lst file to build up a where clause.

ex. FieldName='%%i' OR

so after a few iterations, it WOULD LOOK like this

FieldName='%%i' OR
FieldName='%%i' OR
FieldName='%%i' OR

well, I'll need to trim off the LAST 4 characters (' OR ' ) when I'm done. Any ideas?show your for loop...



Discussion

No Comment Found