How can I collapse line stars with same keyword
-
I use c++notepad to write a BDF nastran file. it is not a true linguage.
in order to increase the readability I 'd like collapse line like as a function the row that start with the same keyword.
follow there are an exseple of linei want collaps.CBEAM 5048057 5013403 5040021 5040011-.008457.135901 .990686
CBEAM 5048058 5013403 5040015 5040025-.008457.135901 .990686
CBEAM 5048360 5013403 5045329 5040021-.008457.135901 .990686
CBEAM 5048361 5013403 5040025 5045333-.008457.135901 .990686
CBEAM 5048420 5013403 5045394 5045329-.008457.135901 .990686
CBEAM 5048421 5013403 5045333 5045398-.008457.135901 .990686
CBEAM 5048480 5013403 5045459 5045394-.008457.135901 .990686
CBEAM 5048481 5013403 5045398 5045463-.008457.135901 .990686
CBEAM 5048540 5013403 5045524 5045459-.008457.135901 .990686
CBEAM 5048541 5013403 5045463 5045528-.008457.135901 .990686
CBEAM 5048600 5013403 5045589 5045524-.008457.135901 .990686
CBEAM 5048601 5013403 5045528 5045593-.008457.135901 .990686
CBEAM 5048660 5013403 5045654 5045589-.008457.135901 .990686 -
might be possible to get this solved using used defined language.
Is there an close tag also known?Cheers
Claudia
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login