Categories
- All Categories
- Oracle Analytics Learning Hub
- 18 Oracle Analytics Sharing Center
- 18 Oracle Analytics Lounge
- 228 Oracle Analytics News
- 44 Oracle Analytics Videos
- 15.8K Oracle Analytics Forums
- 6.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 85 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture
How to remove the last three characters from a string?

fabryddorf-Oracle
Rank 4 - Community Specialist
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?
0
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