Solved

RichTextBox1 to RichTextBox2

Posted on 2015-02-01
3
44 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
3 Comments
 
LVL 69

Accepted Solution

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

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 Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now