theflyingminst
08-29-2008, 01:10 PM
Hi there, I am outputting a search and replace type form in ASP and I have lines that are coming out uneven:
Ex:
-----------------------
------------------------------
-----------------------
--------------------------
Is there a function I can use that makes all of the lines the same length based on the shortest (or longest) length outputted? Also is there a way for this function to trim only lines that have certain characters (ex: "-")? I'm not sure if this would fall into the Trim category (but I titled the post as such).
Thank you.
Ex:
-----------------------
------------------------------
-----------------------
--------------------------
Is there a function I can use that makes all of the lines the same length based on the shortest (or longest) length outputted? Also is there a way for this function to trim only lines that have certain characters (ex: "-")? I'm not sure if this would fall into the Trim category (but I titled the post as such).
Thank you.