Jun 5, 2001 #1 mashaguen Programmer May 31, 2001 6 US How do I remove the trailing semicolon? My results prints out: general, 3/47:31; 4/11:45; I need it to print out: general, 3/47:31; 4/11:45 without the semicolon on the end. Any sugestions? Thanks I would appreciate any help
How do I remove the trailing semicolon? My results prints out: general, 3/47:31; 4/11:45; I need it to print out: general, 3/47:31; 4/11:45 without the semicolon on the end. Any sugestions? Thanks I would appreciate any help
Jun 5, 2001 #2 Boomerang Programmer Mar 30, 2001 766 NL Count the number of characters in the string with: stringnumber = Len("stringname" Then you can define the printnumber: printnumber = stringnumber - 1 Then use the left-function: Left(stringname, printnumber) Hope this will help you, Erik Upvote 0 Downvote
Count the number of characters in the string with: stringnumber = Len("stringname" Then you can define the printnumber: printnumber = stringnumber - 1 Then use the left-function: Left(stringname, printnumber) Hope this will help you, Erik
Jun 6, 2001 1 #3 jkat Programmer Mar 9, 2001 17 US or an easier way would be left(stringname,len(stringname)-1) -Jas Upvote 0 Downvote