You need to sign in to do that
Don't have an account?
Abhishek Singh 88
how to parse string
Hi All,
I have below data in Description Field of incident.
Application: Oracle eBusiness Suite (eBS)
Change Driver: Migration
Change Category: New scripts
Is this Change part of a Project?: Yes
Non-Technical Reason for Change?: Importing Fieldglass invoices programatically
Do we need a WebEx?: No
Why is WebEx NOT Required?: It is a new component. And all the details are discussed with the functional team.
WebEx/Bridge Information:
Number of Users Affected: Internal – None
Worst Case if not Implemented: Oracle might not able to import fieldglass invoices
End user experience if Change fails: Oracle might not able to import fieldglass invoices
End User Experience during Change: Once change implemented successfully. User might able to import fieldglass invoice
I want to parse it and want to store only bold text(Number of Users Affected)
Any Suggestion would be appriciated
I have below data in Description Field of incident.
Application: Oracle eBusiness Suite (eBS)
Change Driver: Migration
Change Category: New scripts
Is this Change part of a Project?: Yes
Non-Technical Reason for Change?: Importing Fieldglass invoices programatically
Do we need a WebEx?: No
Why is WebEx NOT Required?: It is a new component. And all the details are discussed with the functional team.
WebEx/Bridge Information:
Number of Users Affected: Internal – None
Worst Case if not Implemented: Oracle might not able to import fieldglass invoices
End user experience if Change fails: Oracle might not able to import fieldglass invoices
End User Experience during Change: Once change implemented successfully. User might able to import fieldglass invoice
I want to parse it and want to store only bold text(Number of Users Affected)
Any Suggestion would be appriciated
There is no specific of string parsing in Salesforce, You have to write a custom logic either using split/substring method -
For Ex. Say you are storing your string value in Description field on Account, See below your code for the reference -
This will return 'Internal – None'.
Post here if you have any further questions OR close this thread if thee answer resolves your questions.
Happy Coding!!
All Answers
There is no specific of string parsing in Salesforce, You have to write a custom logic either using split/substring method -
For Ex. Say you are storing your string value in Description field on Account, See below your code for the reference -
This will return 'Internal – None'.
Post here if you have any further questions OR close this thread if thee answer resolves your questions.
Happy Coding!!
Please refer to this link it may be helpful to you:-
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_json_jsonparser.htm
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha