Remove  "  from file

Hallow Im doing a batch input from file csv (comma dilmeted) In the file I have company that ok and company name with before and after the company name word <b>''</b>    how can I get rid of  from that . just<b> ''</b> before and after the company name .
*--table with data from file(csv)--
  LOOP AT itab1.
    SPLIT itab1 AT ',' INTO:
       itab-osek_morsh
       <b>itab-company_name</b>
       itab-company_code.
    APPEND itab.
  ENDLOOP.

Hi Antonio ,
Now what i understand is that some companies may have " at begining , some may have at end , some may have both and some none .
So your requirement is that if there is a " as the first char or last then we need remove it , for all other cases it is not required.
If my understanding is correct , here is the code which gives the desired result
* Selection Screen
parameters : p_string type string .
start-of-selection.
DATA : t_result type  MATCH_RESULT_TAB. " Internal table
data : v_string type i .
v_string = strlen( p_string ).   " Get the lenght of string
* get the offset of all occurances of " in your string
FIND ALL OCCURRENCES OF '"' IN P_STRING RESULTS T_RESULT.
v_string = v_string - 1.  " Here the offset start with zero
* Check if last char is "
read table t_result with key OFFSET = v_string transporting NO FIELDS .
if sy-subrc = 0.
" If yes remove if from string
p_string = p_string+0(v_string).
endif.
*Check if the first char is "
read table t_result with key OFFSET = '0' transporting NO FIELDS .
if sy-subrc = 0.
* if yes replace with space
  replace '"' in p_string with ' '
endif.
Check if this serves your purpose , if not please tell what is the concern you have.
Thanks
Arun

Similar Messages

  • Q: InDesign Extension could not be removed from file system when it was removed in Extension Manager

    <body>
    <p>All files of an ordinary extension will be removed from file system when this extension is removed in Extension Manager. But InDesign extensions with <tt>"plugin-manager-type"</tt> attribute in mxi file are special. Extension Manager will NOT remove files of this kind of extensions from file system when removing these extensions. Instead, Extension Manager will use other way to tell InDesign not to load these removed extensions when InDesign is launched. If you want to make your InDesign extensions removable, you can just remove <tt>"plugin-manager-type"</tt> attribute from the mxi file when you generate an extension.</p>
    </body>

    Thanks for the help. Yes that addressed the issue.
    On a side note, the tutorial I followed was the one that came with the plugin. Specifically I'm referring to the following file:
    //<eclipse_path>/plugins/com.adobe.cside.html.docs_1.0.0.201307260955/doc/getting_started/ Create_Your_Own_HTML5_Extension_In_5_Minutes.htm
    This is the HTML page for the "Create Your Own HTML5 Extension In 5 Minutes" walkthrough. It makes no mention of changing "PlayerDebugMode". I downloaded the eclipse plugin from the following link:
    http://labs.adobe.com/downloads/extensionbuilder3.html
    Is there a more up to date plugin? Where is the documentation that references changing the settings you mentionned?

  • Elements 11 - images removed from files.

    I indavertenly hit keys that resulted in the 20 files being emptied.  If I go to Find By Media Type - Photo all the images are brought up, however I am unable to repopulate the files.  How do I do that?

    View> Media Types. Make sure they are all checked.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • WebDAV access from File Manager gone from Belle

    The Files (formerly File Manager) app has been stripped of its WebDAV feature.
    For me, this is a big inconvenience, as it means that N8, E6, 701 now has no built-in means of exchanging files with our home Synology NAS box. (AFAIK, Belle has no FTP, NFS or AFP client "out of the box" or available in the Store, and I'd have to cough up £3 for MyExplorer to add a Windows file-sharing (SMB) client to N8, E6, 701 etc.)
    I don't know if anyone involved with Belle on the Nokia side, reads this forum, but after asking them why they felt they had to remove a genuinely-useful feature, I would plead with them either to restore the WebDAV client functionality to Files, or provide a separate app to enable some kind of file-sharing (WebDAV, SMB, FTP, whatever).
    If I have to pay for a third-party client to give me this functionality, no problem, then so be it, but I do have to ask why a 2012 smartphone platform is shipping without a single means of exchanging files over a network (and I don't count USB or Bluetooth file-transfer). For that matter: does anyone know why WebDAV was removed from Files?
    Maybe I'm the only user who even noticed that WebDAV was gone, but I just had to "vent" a bit...
    Nokia 808 again (delight Belle), Nokia E7 and X7 ( again, all on Delight Belle...after some time on Nokia Lumia 925 (retired), 1020 (not that great)and Lumia 820 (Replaced my router at home, great for internet sharing).., N9 The best device ever (use it as much as Lumia 1020), Nokia 700 (Sport Phone/My Love :-) ) Nokia 701, Nokia E6 (Should have a follow-up from Nokia among with larger screen, NFC, Autofocus), Lumia 800 (Retired After 6 weeks), -Sports Tracker-Nokia Internet Radio-Handy Safe-Skype-Bambuser-Screenshot app pro-fMobi-ComingNext-Manual TaskSwitcher-jagiTimer-Easy StopWatch-Boldbeast-Equalizer-Financial Calculator-WiMP Music-YTasks-Davi-Thumbnail Folders-BizCalendar-Tiny7-Situations-nn reeder-Sport Timer-CameraLover-CameraPro-GrabRadio-LiveScore-Poddi-Gravity-SkyFilesPro

    And this answer I received from th devoloper of myExplorer in March;
    Hello!
     Unfortunately, myExplorer does not support WebDAV. However you can still connect remotely to your NAS or other file server in two ways:
        A. By forwarding the SMB port in your router.This is easy to setup but it is not very secure. While authentication information (user name and password) is protected, as they are never transmitted unencrypted, the rest of the traffic will go over unsecured connection. Here is what you have to do for this to work:
        1. Forward port 445 (or 139) on the file server (or NAS) in your router to another port (for example 22678 - the number is not important, what is important is to write it down for later).
        2. Create a new network share in myExplorer and type the external IP address of your router in the field "Computer IP address). If your external IP address is dynamic and you are using some kind of dynamic DNS, instead of IP address, please fill the DNS name of the router in the field "Computer DNS name".
        3. Fill in the port number from step 1 in the field "Port number"
        4. Select "Always ask" as access point because you may need to use different access points depending on your current physical location (3G on the road or Wi-Fi in the office, etc.).
        5. Please note that you will have to add exception to your firewall for port 445 or 139 as most firewalls block the ports 445 and 139 when the other IP address is not local. This is true even for the built-in firewall in Windows.
        B. By using VPN network.  This method is better from security point of view but it requires more work to setup. First you need to setup a VPN network from your phone to the LAN where the NAS is located. This can be done in few different ways and the concrete steps depend on what kind of VPN you are using. After you have working VPN, all you need to do is this:
        1. Fill in the NetBIOS name or the (local, not external) IP address of the computer.
        2. Select the created VPN access point as the access point for this network share.
        Please note that both methods above require some knowledge about the networks. We are planning to create a tutorial, which explains the needed steps but it is not ready yet.
    Best regards!
    myExplorer
    I wrote; 2 questions,
    Can I log in to a nas through webdav and using 3G
    Can I have the address as https://mynasserver.no-ip.org:7001 when connecting over 3G. The server don’t have a 192.168.1.1 adress over the webb  
    Regards
    Ztuka
    Nokia 808 again (delight Belle), Nokia E7 and X7 ( again, all on Delight Belle...after some time on Nokia Lumia 925 (retired), 1020 (not that great)and Lumia 820 (Replaced my router at home, great for internet sharing).., N9 The best device ever (use it as much as Lumia 1020), Nokia 700 (Sport Phone/My Love :-) ) Nokia 701, Nokia E6 (Should have a follow-up from Nokia among with larger screen, NFC, Autofocus), Lumia 800 (Retired After 6 weeks), -Sports Tracker-Nokia Internet Radio-Handy Safe-Skype-Bambuser-Screenshot app pro-fMobi-ComingNext-Manual TaskSwitcher-jagiTimer-Easy StopWatch-Boldbeast-Equalizer-Financial Calculator-WiMP Music-YTasks-Davi-Thumbnail Folders-BizCalendar-Tiny7-Situations-nn reeder-Sport Timer-CameraLover-CameraPro-GrabRadio-LiveScore-Poddi-Gravity-SkyFilesPro

  • I keep getting blue screen and error message to remove this file from system. spooldr.sys

    HP Officejet 4500 Wireless All-in-One Printer - G510n    w/operating system     Windows XP Professional
    I installed the printer in February and the disk did not finalize the setup process.  I went online and
    down loaded the drivers and software that was offered from the HP website.
    The printer works, but as the months have gone along, I keep getting updates for the printer and
    the system needs to reboot and it does automatically.
    Now I am getting a blue screen with a critical dump error message.  HP error reporting keeps sending
    the same message back to restore to earlier date before the updates.  That worked for awhile.  Now
    HP Error system says that malware has corrupted and needs to remove system file     spooldr.sys
    Is this in your driver software.  Spooldr is the system that caches pages of data for printing in chronological
    order....
    Can I uninstall my software and drivers and change to the plain & simple, print and scan to prevent the
    spool driver from loading to my system?

    Thank you for your input.  But, It is amazing that you can tell me that I was infected with  rootkit. 
    Without information as to how to fix, your information is after the fact and useless.
    I used the Safety Scanner provided to me by HP.  A full scan didn't detect any Malware in any files on my system.  But the last screen dump provided the information that   spooldr.sys  was corrupted and  needed
    to be removed.  
    Coming into HP Form, I did read on the HP website that my system Windows XP Professional was not listed
    and noted that the software may have not been just what I needed.  This was the reason for the question
    about uninstalling and reinstalling less of the program.  I really don't need my printer to print backward and
    that is all I see that it is doing that other printers don't.
    Besides, Kudos goes to the person from HP who sent the email,  suggesting I used the HP Update software and drives recommended  for my computer system.  Computer, printer is working, back to normal and hasn't taken a dump since, I uploaded  software and drives for Windows XP Professional.

  • Cannot remove pdf file from desktop

    Hi,
    I have been offered update on Adobe Reader appx  12 times now and it has been accepted and closed other programmes to install. It 9.5.1 version.
    Now I have two pdf files on my desk top 28bea10-8739248572913388.pdf  and a similar one  which cannot be trashed or removed from the desk top.
    A sign comes up cannot be deletd  therefore cannot be removed from the desk top.
    Any help welcome
    Regards
    David

    I had the same question, and I logged out and back in and the file is gone, thanks for the info on here. Thought I had a virus file…glad it was simple.

  • Cant remove a file from a directory

    hi gems...god morning...
    I am facing an issue but i cant figure it out..
    I have two users which belong to same group i.e. user1 and user2
    Now user1 owns a directory(dir1) and the permission is 775.
    Now user2 makes a FTP and places a file(fil1) into that directory(dir1) owned by user1.
    The umask setting is 027 and thats why in that directory(dir1) the file permission becomes 640.
    But when i am trying to delete that file(fil1) using user1, then it is not allowing me..
    what can i do..please suggest...thanks in advance...

    thanks for replying...
    It really looks strange and all i thought it is a code problem..
    Means the scenario i have told here is not from the direct access to the solaris box...
    It is happenning when a batch job is being called from there. The operations the batch job does is to take the file, do some processing and then remove that file. Everything is getting successful except the last step.
    But when I tried from the backend(direct access through putty) then it behaves normally.
    So i am confirm that it is a code issue. I have told the developers to check the code.

  • How does one remove temporary files from Safari?  A friend logged on to her Facebook account using my iMac.  Now I can't remove her e-mail address from Facebook.  It was suggested to me that I try clearing temporary files from Safari but I can't find

    How does one remove temporary files from Safari?  A friend logged on to her Facebook account using my iMac running Mac OSX 10.7.5 and Safari 6.1.6.  Now I can't remove her e-mail address from my computer.  When I open Facebook her address shows in the user button.  I do not have a Facebook account.  It was suggested to me that I try clearing temporary files from Safari but I can't find anything that tells me how to do this.  Are temporary files the same as the cache?  It also was suggested that I try clearing Safari cache.  How do I do that?

    Check Safari/Preferences/Passwords to see if the Facebook account is there. If so, select it and remove it. If you are still having problems, Safari/Preferences/Advanced - enable the Develop menu, then go there and Empty Caches. Quit/reopen Safari and test. If that doesn't work, Safari/Reset Safari.

  • How can I remove .nrw files from my NOKIA Asha 200...

    When I am connecting my NOKIA Asha 200 with my PC by data cable, I am watching almost 50 nos. *.nrw files inside the Image folder. I tried to delete all those file, but I was unable. Is there any one, who can tell me how to remove those files from my phone memory?
    Thanks & regards,
    Sudip Sinha.
    Calcutta.
    India.

    Back-up your data and then Factory Reset your phone ...(Menu-->Settings-->Restore Factory settings-->Settings only.. followed by 12345 which is default security code, unless set by you) .. When the phone reboots, check whether these .nrw files are now converted to .jpg .. If so, you should be able to delete them now ...

  • How do I know what files to remove from my Macbook Pro laptop?

    Apparently my hard drive is full and I need to remove files so I have space to download more music and movies.  I don't want to delete important files.  How do I go about doing this? 

    How do I know what files to remove from my Macbook Pro laptop?
    Remove only files you yourself stored on the laptop; files in your Home folder. Don't delete any files from the system libraries, and if you want to remove applications, use the provided uninstallers.
    For files in the media libraries - iTunes, iPhoto, iMovie use the application to delete music, photos, movies.
    If you are planning on storing more movies and music on your mac, deleting old files will probably not suffice alone to free enough space. Consider to get yourself an external drive to store your media.

  • How to make button to format a HardDrive or USB, How to remove all files from folder, and How to delete a process in listbox with a textbox?

    Hello!
    Here's the question with explaniation: How can i format the USB or Drive by clicking a button what's meant for it?
    and the second question what's also in vb.net: How can i remove all files from folder ? 
     Here's the Look of program: *
    Using the PC button, it will delete the free space of the PC, do you guys/girls know where it's location?

    Example Code:
    Imports System.Runtime.InteropServices
    Imports System.IO
    Public Class Form1
    Dim CBoxDrives As New ComboBox
    WithEvents FButton As New Button
    <DllImport("shell32.dll")> _
    Private Shared Function SHFormatDrive(ByVal hwnd As IntPtr, ByVal drive As UInteger, _
    ByVal fmtID As UInteger, ByVal options As UInteger) As ULong
    End Function
    Private Enum SHFormatFlags As Integer
    SHFMT_ID_DEFAULT = &HFFFF
    SHFMT_OPT_FULL = &H1
    SHFMT_OPT_SYSONLY = &H2
    SHFMT_ERROR = &HFFFFFFFF
    SHFMT_CANCEL = &HFFFFFFFE
    SHFMT_NOFORMAT = &HFFFFFFD
    SHFD_FORMAT_FULL = 0 ' full format
    SHFD_FORMAT_QUICK = 1 ' quick format
    End Enum
    Private Sub FButton_Click_1(sender As System.Object, e As System.EventArgs) Handles FButton.Click
    If CBoxDrives.Text = "" Then
    MsgBox("No Drive Selected")
    Exit Sub
    End If
    Dim Iresult As ULong = SHFormatDrive(CType(Me.Handle.ToInt32, IntPtr), CUInt(Asc(CBoxDrives.Text.Substring(0, 1)) - Asc("A")), CUInt(SHFormatFlags.SHFMT_ID_DEFAULT), 1)
    End Sub
    Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
    Me.Size = New Size(200, 100)
    With FButton
    .Size = New Size(50, 25)
    .Location = New Point(5, 5)
    .Text = "Format"
    End With
    Me.Controls.Add(FButton)
    With CBoxDrives
    .Size = New Size(50, 25)
    .Location = New Point(75, 5)
    .DropDownStyle = ComboBoxStyle.DropDown
    End With
    Me.Controls.Add(CBoxDrives)
    Dim DrivesFound As Integer = 0
    Dim allDrives() As DriveInfo = DriveInfo.GetDrives()
    Dim d As DriveInfo
    For Each d In allDrives
    If ((d.DriveType = DriveType.Fixed) Or (d.DriveType = DriveType.Removable)) AndAlso Environment.GetEnvironmentVariable("SYSTEMROOT").StartsWith(d.Name) = False Then
    CBoxDrives.Items.Add(d.Name)
    DrivesFound += 1
    End If
    Next
    CBoxDrives.SelectedIndex = DrivesFound - 1
    End Sub
    End Class

  • How can i create a hyperlink annotation on a pdf file using preview? the tool is removed from the toolbar

    It seems that the tool to create an hyperlink on a pdf file is removed from the toolbar!

    In order to initiate printing by clicking a button, the button has to have either an "execute menu item" type action or use the "print" JavaScript method. As you guessed, the former won't work since there are no menu items to execute, and the latter can only work if the particular PDF viewer you're using supports it. I'm not aware of any that do on iOS.
    The button doesn't appear because you're probably opening it in the default PDF viewer, which doesn't support forms at all. If you were to open the form in Adobe Reader, you'd see the button but it wouldn't work.

  • FW: [Adobe Reader] I want my credit card information to be removed from Adobe's file and I can't find a phone number to contact someone in your company, how come, please help!  Lucie

    What a dumb answer, the payment is done and charged already,
    ADOBE DOES NEED MY CREDIT CARD INFO ANYMORE, PLEASE REMOVE IT
    FROM YOUR DATABASE AS I CANNOT DO IT MYSELF.  It is quite annoying
    to be controlled like this, please confirm that my request has been answering
    with intelligence please.
    Lucie Lévesque
    Date: Mon, 8 Dec 2014 08:09:59 -0800
    From: [email protected]
    To: [email protected]
    Subject:  I want my credit card information to be removed from Adobe's file and I can't find a phone number to contact someone in your company, how come, please help!  Lucie
        I want my credit card information to be removed from Adobe's file and I can't find a phone number to contact someone in your company, how come, please help!  Lucie
        created by Bernd Alheit in Adobe Reader - View the full discussion
    Adobe needs the credit card information for the payments.
         If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/6995243#6995243 and clicking ‘Correct’ below the answer
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/6995243#6995243
         To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
         Start a new discussion in Adobe Reader by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

    Adobe Reader is a FREE program, so you would not enter a credit card
    If you have a subscription to a PAID program, removing your credit card information would cause that program to stop working when you stop paying for your subscription
    If that is what you want, here is the information on how to cancel
    Cancel http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html
    -or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • How to remove from iPad music files that do not appear in iTunes?

    A 'phantom' music Album files appears on my iPad, in the Albums view of the Music menu.  The album cannot be played and the three tracks on it appear greyed out when it is selected.  It is not present in my iTunes library on my PC.  Is there anyway that this file can be deleted or at least removed from the Music/Albums view?
    Similarly, I downloaded a free track from iTunes directly to my iPad.  This now shows on both my iPad and iTunes on my PC.  However, I do not wish to keep the track on my iPad.  Removing it from the playlist that sync's to the iPad does not remove it from the iPad.  Is there a way to resolve this additional issue?
    iPad is an iPad 2 with iOS 5.0.1.  iTunes is version 10.5.2.11 on a Windows 7 laptop PC.
    Thanks, any suggestions welcome.

    If you try syncing with iTunes again, perhaps the phantom album will be erased since it does not exist on the computer.
    Have you tried restarting or maybe resetting the iPad to see if the album will disappear?
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • How do I remove backup files from desktop

    I am having difficulty removing backup files that are locked from my desktop that I transfered from a backup external hard drive. It starts to delete but whern it gets to 0 it rewrites the file. this happens evn after I answer "remove all locked files".
    Thank you
    John Roberts

    I was able to delete the backup.backup files once I :
    1.  ran disk repair
    2. disconnected the external drive and restarted.
    Also the 1password.backup files
    ( Other discussions helped greatly.)
    Thank you,
    John5

Maybe you are looking for

  • How can I use After Effects filters on a whole sequence without getting stuck in After Effects?

    It appears that, with the options that are visible to the user, Dynamic Link only goes one-way and can't make round trips from Premiere Pro to After Effects and back again.  If I send a sequence to After Effects, that part works fine and I can do wha

  • Opening a frame from a button

    Can some one help me figure out how to get a frame to open ferom a button with input. here is the source code where it would be used. // Programmer:     AISC AM Programming class // Jan. 22, 2004 // DiseaseSim2 driver to test out People class import

  • Assassin's creed 4 not performing @ 60fps

    Hi, i just bought gt72 2QE-211 loaded with gtx 980m. According to nvidia website the assassin's creed 4 should run @ 45+ fps @ 2560 x 1600  **check http://www.geforce.com/whats-new/articles/geforce-gtx-900m-laptops-available-now** This means when run

  • Saving a transparent PNG

    I have been trying to get my script to save off as a PNG. I am pretty sure that it is my options that are giving me the problems. Not sure if there are new terms for CS6 or if these are just wrong. Any help would be great. set newFileName to (outputF

  • MSS Time Approvals - Send Email on Rejection

    Hello All, We are on ERP 2005, MSS 1.0. We are using the standard webdynpro application " Approve Time sheet data" in MSS ( not using workflow ). In the MSS -> Time approval piece of IMG we can check mark a box that says "send email on rejection". Th