08-22-2005 10:12 AM
08-22-2005 10:23 AM
08-22-2005 10:28 AM - edited 08-22-2005 10:28 AM
Message Edited by John Rich on 08-22-2005 10:30 AM
08-22-2005 10:29 AM - edited 08-22-2005 10:29 AM
Message Edited by Dennis Knutson on 08-22-2005 09:32 AM
08-22-2005 10:36 AM
08-22-2005 10:41 AM
You can use the regular expression "[\r\n]$" to match the last carriage return OR line feed at the end of the string. Or you can use "\r$", "\n$", "\r\n$" if you know the specific EOL that you want to match. Note that we ommitted the "*" which tells the match pattern function that we want zero or more instances of the preceeding pattern.
@Carnot wrote:
Hey thanks, but I have multiple Line-Feeds but want to remove the very last one and keep the rest, is there a way to say it's the last one to be picked up to delete? Cheers.
08-22-2005 10:44 AM
08-22-2005 10:45 AM
08-22-2005 11:06 AM
10-05-2018 10:32 AM
> Does anyone know how I could remove the last Line-Feed character used as a delimiter in the Array To Spreadsheet String function.
Trim Whitespace.vi is the simplest solution. It removes end of lines as well as spaces.