T O P I C R E V I E W |
bobby131313 |
Posted - 08 June 2011 : 13:15:13 So I'm truncating some RSS titles for display...
RSStitleshort = Left(RSStitle,35)
Works great. But is there a way to make it break at the first space after the value so it doesn't stop in the middle of a word?
Thanks in advance...
|
2 L A T E S T R E P L I E S (Newest First) |
bobby131313 |
Posted - 08 June 2011 : 16:34:42 I had to tweak some other code that I *thought* wouldn't matter but that got me where I needed to be.
Thank You!  |
HuwR |
Posted - 08 June 2011 : 14:51:33 try something like pos = Instr(34,RSStitle," ") if pos = 0 then pos = 35 end if RSStitleshort = Left(RSStitle,pos) |
|
|