In article <38622BED.CDCB5BDB@NRC.ca>,
Michel Grenier wrote:
> Does anybody known how to remove the space that the 'Fomat Into
String'
> vi adds at the end of the output string? We're crearing filenames that
> cannot contain spaces.
>
>
If there are a known number of spaces and they are always in the same
spot (i.e. 1 space at the end of the string, all you should have to do
is do a LEN on the string, and then use (LEN-1) as the Length input of
the String Subset Function. If there are many spaces, you can use a
"space" as the search character input to a Split string function and
then use concatenate of the Substring before the Char output string to
the Character output string Trimmed by the space. The easiest thing to
do for this is to
create a VI Called something like Strip_Spaces.vi so
you couyld use it anywhere.
GL
Sent via Deja.com http://www.deja.com/
Before you buy.