Toggle Side Panel

  • Blogs
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › A string ‘updated’ is added to all users in Account object via batch apex, now how to remove 'updated' in Salesforce Apex?

    Tagged: Account Object, Developer Console, Salesforce Apex Code, Salesforce Batch Apex, Salesforce Visualforce Page, String

    • Salesforce® Discussions

      A string ‘updated’ is added to all users in Account object via batch apex, now how to remove 'updated' in Salesforce Apex?

      Posted by Aman on September 22, 2018 at 11:27 AM

      A string ‘updated’ is added to all users in Account object via batch apex, now how to remove 'updated' in Salesforce Apex?

      Parul replied 7 years, 9 months ago 3 Members · 0 Replies
      • Account Object
      • Developer Console
      • Salesforce Apex Code
      • Salesforce Batch Apex
      • Salesforce Visualforce Page
      • String
    • 0 Replies
    • shariq

      Member
      September 22, 2018 at 11:28 AM

      Run the below code in developer console

      List acc =[SELECT Id, Name FROM Account];

      for(Account a : acc)

      {

      a.Name = a.Name.removeEnd(‘Updated’);

      update a;

      }
      (Top 30 Salesforce Apex Interview Questions and Answers Pdf)
      16. How do you pass the parameters from on apex class to another to another ?
      Answer: You can simply pass the parameters through the URL.

      say you are redirecting from one VF page to another

      string value = ‘your param value’;

      string url;

      url = ‘/apex/VF_Page_Name?param1=’ + value;

      PageReference pageRef = new PageReference(url);

      pageRef.setRedirect(true);

      return pageRef;

      Then in the controller of the VF page, you just can get the param like this

      String param_value = system.CurrentPageReference.GetParameters().get(‘param1’);

    • Parul

      Member
      September 22, 2018 at 12:30 PM

      hi

      As far i understand your problem you can try to Run the below code in developer console

      List<Account> acc =[SELECT Id, Name FROM Account];
      for(Account a : acc)
      {
      a.Name = a.Name.removeEnd(‘Updated’);
      update a;
      }

      Hoping it will help you:

       

      Thanks

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    Popular Salesforce Blogs

    Top 10 Features in Salesforce Summer ’19 Release

    Blog in Salesforce Releases

    Salesforce releases over a whopping 150 new features three times a year during its seasonal releases: Spring, Summer, and Winter. And one of the most…

    Lightning Component, Sales Cloud, Salesforce, Salesforce Chatter, Salesforce Classic
    LevelShift (formerly DemandBlue) Jun 3, 2019
    3,334  Views
    Automation studio in Marketing cloud

    Automation studio in Marketing cloud

    Blog in Others

    Automation Studio - Automation Studio makes Marketing Cloud email sends, queries, imports, and more happen automatically. Automation Studio is a Salesforce Marketing Cloud application used…

    Attribute Value, Automation Studio, Data Extension Record, Data Extract, Marketing Automation
    Rajan Aug 29, 2018
    5,721  Views
    salesforce flow

    Why Flow with Salesforce Flow?

    Blog in Salesforce, Visualforce

    Earlier when you required a custom feature in your Salesforce installation to support your business process, the only available options were to create a brand…

    Application of Flows, Autolaunch Flows, Business Process, Cloud Flow Designer, Flow Trigger Workflow
    Algoworks Feb 21, 2017
    11,177  Views

    Popular Salesforce Videos

    How to Use Dispatcher Console in Salesforce Field Service? | Elevate Field Service Delivery | AblyPro

    How to Use Dispatcher Console in Salesforce Field Service? | Elevate Field Service Delivery | AblyPro

    Video in Salesforce Field Service Platform

    Dispatcher Console makes field service delivery easy for your business. Using the Dispatcher Console included in the Field Service package, your dispatchers can easily schedule,…

    Salesforce Tutorial, Salesforce Video, Salesforce Field Service, Tools, Consultation
    AblyPro Oct 24, 2023
    1,127  Views
    Salesforce Winter'21 New Apex Features

    Salesforce Winter'21 New Apex Features

    Video in Salesforce Apex, Salesforce Training

    So wait is over... In this tutorial we would discuss many new Apex Features as below : Use Safe Navigation Operator PATCH HTTP Method in…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Apex Callouts
    Prafull Sep 21, 2020
    1,716  Views
    4 Key Highlights From the Dreamforce Keynote Event

    4 Key Highlights From the Dreamforce Keynote Event

    Video in Salesforce Stories, Events

    Let's straightaway take a jump on the announcements – from Hyperforce, Einstein Automate, Service Cloud Workforce, and huge acquisitions – presenting you a summary of…

    Salesforce Event, Salesforce Video, Dreamforce Video, DF2U, Dreamforce Keynote Event
    Algoworks Dec 7, 2020
    1,660  Views

    Popular Salesforce Infographics

    All About The Fourth Industrial Revolution | An Infographic

    Infographic in Others

    We’re in the midst of the Fourth Industrial Revolution – IoT, innovation and technology are transforming the way we work and customer expectations. Every industry…

    Artificial Intelligence, Fourth Industrial Revolution, IoT, AI In Salesforce, Salesforce Trailblazers
    Ashley Jul 17, 2018
    3,586  Views
    automation tools

    Automation Tools In Salesforce

    Infographic in Others, Salesforce Stories

    Automation tools in Salesforce can eliminate monotonous tasks, freeing up an admin’s time to do more profound things. These tools include Workflow Rules, Process Builder,…

    Salesforce, Salesforce Infographic, apex, Automation Tools in Salesforce, Workflow Rules
    Prafull Jun 24, 2020
    3,652  Views

    Top Salesforce Data Loaders and Tips for Using it.

    Infographic in Salesforce Products

    This is the list of the top performing Salesforce Data Loaders and the tips for using them in the form of an effective infographic.

    Salesforce Data Loader, Salesforce Tools, Salesforce CRM System, Salesforce Data, Salesforce Administrator
    Ashley Feb 26, 2019
    5,817  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2026 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.