How I find two strings and concatenate them?



  • I would like to concatenate each string ENTRY, with a string LIST,XXXX. I have several files where the XXXX always change… Someone can help me for this problem?

    List is as show:

    ENTRY,1,20Y-810-1161,Elbow,1,0,
    FIELD,SERIALNO,B10001-
    ENTRY,2,22U-979-1930,Nipple,1,1,
    FIELD,SERIALNO,B10001-
    ENTRY,3,20Y-01-56280,Joint,1,2,
    FIELD,SERIALNO,B10001-
    ENTRY,4,07002-11823,O-ring,1,3,
    FIELD,SERIALNO,B10001-
    ENTRY,5,07005-03016,“Seal, Washer”,1,4,
    FIELD,SERIALNO,B10001-
    ENTRY,6,22U-62-53960,Plug,1,5,
    FIELD,SERIALNO,B10001-
    LIST,A9999-001002,B00902,“Damper, (2/2)”,1,
    PICTURE,1,JH101679,0,32767,32767,

    I need as show:

    ENTRY,1,20Y-810-1161,Elbow,1,0,
    FIELD,SERIALNO,B10001-
    ENTRY,2,22U-979-1930,Nipple,1,1,LIST,A9999-001002,B00902,
    FIELD,SERIALNO,B10001-
    ENTRY,3,20Y-01-56280,Joint,1,2,LIST,A9999-001002,B00902,
    FIELD,SERIALNO,B10001-
    ENTRY,4,07002-11823,O-ring,1,3,LIST,A9999-001002,B00902,
    FIELD,SERIALNO,B10001-
    ENTRY,5,07005-03016,“Seal, Washer”,1,4,LIST,A9999-001002,B00902,
    FIELD,SERIALNO,B10001-
    ENTRY,6,22U-62-53960,Plug,1,5,LIST,A9999-001002,B00902,
    FIELD,SERIALNO,B10001-
    LIST,A9999-001002,B00902,“Damper, (2/2)”,1,
    PICTURE,1,JH101679,0,32767,32767,

    Best Regards,



  • Because the requirement of moderation of postings created by new members is still activated, this posting was lost in the Post Queue for 3 days. This comment is only for bumping it up in the list of recent postings.



  • @Henrique-Sato

    Why doesn’t your very first line get modified in your “I need” section?


Log in to reply