Solved

RichTextBox1 to RichTextBox2

Posted on 2015-02-01
3
69 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 500 total points
ID: 40582396
RichtextBox2.Rtf = RichtextBox1.Rtf.Replace("CATPart", "").Replace("CATProduct", "")
0
 
LVL 48

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month10 days, 19 hours left to enroll

631 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