May 1, 2002 #1 AccessMoron Programmer Joined Feb 15, 2002 Messages 30 Location GB Is there a similar command to VB's Left(string,length) that would enable me to chop off the last eight characters of a string? TIA Mike
Is there a similar command to VB's Left(string,length) that would enable me to chop off the last eight characters of a string? TIA Mike
May 1, 2002 #2 jemminger Programmer Joined Jun 25, 2001 Messages 3,453 Location US Not that I'm aware of, though if you know you always want to chop the last 8 chars, you can do this: stringFoo = stringFoo.substring(0,stringFoo.length-8); Upvote 0 Downvote
Not that I'm aware of, though if you know you always want to chop the last 8 chars, you can do this: stringFoo = stringFoo.substring(0,stringFoo.length-8);
May 2, 2002 Thread starter #3 AccessMoron Programmer Joined Feb 15, 2002 Messages 30 Location GB cheers worked a treat Upvote 0 Downvote