?
Solved

RichTextBox1 to RichTextBox2

Posted on 2015-02-01
3
Medium Priority
?
77 Views
Last Modified: 2015-03-03
Hello ,
I am importing some informations in my Form_Load event to my RichTextBox1. My RichTextBox1 like this:

d..saffdsa.CATPart
asdas.fasf.CATProduct
asd.asdsad.CATPart
hfysafs.CATProduct

I mean it is going down like that.
What I want is that in the same order ı want to transform this informations to another RichtextBox2 like:

d..saffdsa.
asdas.fasf
asd.asdsad
hf.ysafs

I mean I dont want the suffix after last point  . My suffix is always finishinig .CATPart or .CATProduct.
How can I do this?
Thank you.
0
Comment
Question by:hakanogu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 2000 total points
ID: 40582396
RichtextBox2.Rtf = RichtextBox1.Rtf.Replace("CATPart", "").Replace("CATProduct", "")
0
 
LVL 49

Expert Comment

by:Martin Liss
ID: 40641435
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question