Don't ask me how, but I accidentally added multiple spaces at the end of almost every text out of 400. The number of space's for each of them also differ.I want to delete only the ones at the end. How should I go about doing that?
Version is V8i SELECT series 3.
Regards
Frank
since 1985: GIS, CAD, Engineering (Civil) Senior Consultant : [Autodesk Civil 3D , Esri ArcGIS, VertiGIS: in previous days : Bentley MS V4 - V8i, GeoGraphics, Bentley Map V8i, InRoads, HHK Geograf, IBr DAVID] : Dev: [C, C++, .NET, Java, SQL, FORTRAN, UML][direct quote by: http://en.wikipedia.org/wiki/Helmut_Schmidt]: "Wer Kritik übel nimmt, hat etwas zu verbergen"Wer Grammatik- und/oder Rechtschreibfehler findet, der darf sie behalten :-)
Thanks for you suggestion. Yes, when I tried to find ". " and replace with "", it deleted the space's fine, but it also deleted the last letter before the first space. What a pain. For clarity, all my spaces are trailing spaces.
Unknown said:I didn't read the ". " search pattern anywhere
While I agree with Frank's suggestion to use a regular expression (RE), MicroStation isn't the best place to experiment with those.
The dot "." in an RE simply says 'match any character', and dot followed by a space says 'match any character followed by a space'. A better way to experiment with REs is to visit a test site such as regular expressions 101. There you can experiment with REs without inadvertently breaking something in your DGN model. You'll find plenty of other help on the web (although not necessarily for REs in MicroStation). For example...
This RE finds multiple spaces at the end of a line:
\s*$
I tested that with MicroStation CONNECT and it worked when removing spaces at the end of a line.
Regards, Jon Summers LA Solutions