Is there any Trim() like Function of Excel in Tally

Discussion in 'Free Source Codes' started by Murari Bajaj, Dec 31, 2020.

    
  1. Murari Bajaj

    Murari Bajaj Member


    Dear Amitji / Experts
    Is there any Function or Code in Tally like Trim() in Excel. Actually when I try to import
    some bank statements from excel to Tally some amount fields need to use Trim() in excel... then only they are
    imported correctly. So if there is any Trim like code which will fecch that Column data from Excel using Tallys
    Trim Function/Code.
    Thanks
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    No there is not..........
     


  3. Himanshu-2002

    Himanshu-2002 Active Member


    I guess you can use Find and Replace Function where you can replace double spaces (" ")
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Spaces are not findable or searchable........ unless inserted with a CHAR Code e.g. Alt+255
     


  5. Damodaran

    Damodaran New Member


    There is a function called "Trimspaces", try that
     
    balajimg likes this.


  6. Jay kumar tailor

    Jay kumar tailor Well-Known Member


    If You Wants to Remove Spaces Between Then Try This One.

    $$RemoveSpaces

    Many Other Also Available For Non Numeric,Alpha Numeric Etc.
     


  7. Amrik

    Amrik New Member


    Sir how to remove Linefeed character 10 and 13
     


  8. Sai Vineeth

    Sai Vineeth Active Member


    We can use TrimSpaces function
    $$TrimSpaces:" text with spaces as prefix and suffix "
     


  9. Sai Vineeth

    Sai Vineeth Active Member


    Use StringFindAndReplace
    $$StringFindAndReplace:(" 0,fgh ghjk" + $$StrByCharcode:13):($$StrByCharcode:13):""
     
    Amrik likes this.


  10. Amrik

    Amrik New Member


    Working Fine, Thanks
     
    Sai Vineeth likes this.


Share This Page