Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 208 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 76 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
How to remove the last three characters from a string?

Hi Guys,
On the column country in my report i am getting the country like Italy/RF.
I need to remove the '/RF'. Tried TRIM, combination of SUBSTRING and LENGTH, but not getting it right.
any idea?
Answers
-
Is it always "/RF"? If it always starts with a slash, you can say LEFT("Table"."Country", LOCATE('/',"Table"."Country")-1)
0 -
Great!! That worked!
how to i mark as solution provided?
0 -
I don't know how it works on this new site, which I have found to be very frustrating. I think you just marked your own answer as correct, though.
0