I have noticed in other threads the use of the replace function to close spaces, as in:
replace({table.string}," ", ""
replace({table.string},"a", ""
When I try this, the string disappears altogether. In the second example, if I insert a space between the quotes the string reappears, but with the space in place:
"happy" becomes "h ppy"
I am using CR 8.0. Is this a known issue for earlier versions? I couldn't find anything on the Crystal Decisions website about this. Logically, it would make sense that replace would have to replace a character WITH something, even a space, rather than removing a space altogether; however, when I want to eliminate a space, I can't seem to discover any way of doing it.
-LB
replace({table.string}," ", ""
replace({table.string},"a", ""
When I try this, the string disappears altogether. In the second example, if I insert a space between the quotes the string reappears, but with the space in place:
"happy" becomes "h ppy"
I am using CR 8.0. Is this a known issue for earlier versions? I couldn't find anything on the Crystal Decisions website about this. Logically, it would make sense that replace would have to replace a character WITH something, even a space, rather than removing a space altogether; however, when I want to eliminate a space, I can't seem to discover any way of doing it.
-LB