Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 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
Put a comma between city and state

Summary
Put a comma between city and state
Content
Hi,
I have a RTF template.
Field contains 3 data:
- City Name (variable length)
- State Initials (fixed 2 Chars)
- Zip Code (variable from 5 to 10 chars)
I need to place a comma between city name and state
Example:
Source:
<Address_ID30>Vegas NV 0000</Address_ID30>
Result:
Vegas, NV 0000
Any help will be appreciated.
Regards,
Answers
-
Suggest you to handle this at query level and get the final xml tag as <Addr3>Vegas, NV 00000</Addr3>.
Otherwise you can try using Instr and replace function. (i.e find the first space and replace it with ',')
Refer this https://docs.oracle.com/cd/E10091_01/doc/bip.1013/b40017/T421739T481158.htm
0 -
you can try <city>,<state> tags in template
0 -
you can try <state>,<city> tags in template
0