Replace " from the string

Hi,  I am not able to remove " (double quotes) from a sting.
I am using replace function in webi but getting error.
example sting: Yellow stone"discovery"
i have tried like this: =replace([varible];""";"")  but getting error. can anybody help me in removing the " from sting.
Thanks.

Description
Replaces part of a string with another string
Function Group
Character
Syntax
string Replace(string input_string; string string_to_replace; string replace_with)
EX:=Replace ([[variable]]; Char(34) ;"")
Input
input_string                     The input string 
string_to_replace             The string within input_string to be replaced 
replace_with                    The string to replace string_to_replace with. 
Output
The string with the part replaced
Example
Replace ("New YORK";"ORK";"ork") returns "New York"
All the best,
Praveen

Similar Messages

  • Replacement from the Value of an Attribute*

    Replacement from the Value of an Attribute
    With formula variables you can set the processing type Replacement from the Value of an Attribute and create a reference to the reference characteristic for the variable. The attribute Reference to Characteristic (Constant 1) is a dummy attribute that is available with each characteristic. It serves to create a reference to the characteristic, by which it does not need to be aggregated. By choosing this attribute, you can influence the aggregation behavior of calculated key figures in a targeted way and can improve performance during calculation.
    1)what does this do in the query?
    2)what is the value of the variable created ?(like 1,2 etc {i.e.} it changes or is  a constant value like 1)?
    E.g. i have created a formula variable zvar , (replacement path  type) ref. char is wbselement, then what will be the value of the zvar if its used in a formula
    eg.  Formula 1 = kef1 kef2zvar.
    what will be the value(s)  of the variables in the these cases
    1. project = 1000,1000.30.
    2.project = 2000,2000.30.01
    3.proect = 3000,3000.30.01,3000.30.02.
    3.) as per the def. its a  number which refer to a wbs, then in the FORMULA , will it consider the zvar as a VALUE or what would happen?
    Edited by: jumboash on Oct 23, 2009 7:25 PM

    Hi,
    ZVAR is not considered as value in the calculation. It is used only to calculate the formula correctly without aggregation of the operands.
    For example there are two materials m1 and m2 . total amount has to be calculated for these materials whose quantitys are 10 and 20 and whose prices are 200 and 300 respectively.
    Case1:- if ZVAR is not used then the calculation of the fromula will be as follows
    qty   Price    amount
    10 * 200   = 2000
    20 * 300   = 6000
    30 * 500 =  15000     ->   The total amount shows is 15000 which is not correct
    Case 2: -  if ZVAR is used in the calculation of the formula
    qty   Price    amount
    10 * 200   = 2000
    20 * 300   = 6000
                       8000   -> The total amount shows is 8000 which is correct
    so using the ZVAR in the formula shows the correct result without considering the aggregation . This is useful in the case if the material is not part of rows.

  • Extracting the partial string from the string in oracle

    Hello Friends,
    I have a string like this
    var str = '/G/CNH/CNHCornerstone/currentCode/data/Working/Images/ModelImages/png/7402203E-607D-E111-9CA5-005056875BD6.png'
    I want to extract only 7402203E-607D-E111-9CA5-005056875BD6 from the string .
    Please let me know how to implement this ..
    thanks/kumar
    Edited by: kumar73 on Apr 10, 2012 12:34 PM

    hope this works
    set serveroutput on
    declare
      str1 varchar(4000);
      str2 varchar(4000);
    begin
      str1 := '/G/CNH/CNHCornerstone/currentCode/data/Working/Images/ModelImages/png/7402203E-607D-E111-9CA5-005056875BD6.png';
      dbms_output.put_line('string 1 : ' || str1);
      str2 := substr(str1,71);
      dbms_output.put_line('string 2 : '||str2);
    end;
    output
    string 1 : /G/CNH/CNHCornerstone/currentCode/data/Working/Images/ModelImages/png/7402203E-607D-E111-9CA5-005056875BD6.png
    string 2 : 7402203E-607D-E111-9CA5-005056875BD6.png
    PL/SQL procedure successfully completed

  • Find a value and the position from the string.

    Hi All,
    Actually I have one table called test and it got 2 columns in it one is number and the other one is varchar2. now I need to find a particular value from a string and also the position of first position character of that searched value. For example, I need to search “Small” from the string “This is the small value” and also the position of that letter “S”.
    The result should be ----
    Value Position
    Small 14
    hare krishna
    Alok

    use substr(), instr() like this:
    with
      test as
          select 1 as num, 'This is the small value' as str from dual union all
          select 2 as num, 'This is the very-very small_value' as str from dual
    select num, str,
           substr(substr(str, instr(str, 'small', 1, 1)), 1,
                              nvl(nullif(instr(substr(str, instr(str, 'small', 1, 1)), ' ', 1, 1),0),
                                        length(str)) - 1) as value,
           instr(str, 'small', 1, 1) as position
      from test
    Query finished, retrieving results...
    NUM                  STR                     VALUE      POSITION
      1   This is the small value             small               13
      2   This is the very-very small_value   small_value         23
    2 row(s) retrieved

  • How can i Pick the data from the string

    Hi Gurus
    How can i Pick the data from the string using regular expressions. for ex:
    1) 10000-san0001
    2) 3000000-rani0001
    3) 30-super003
    its doesnt mainain how many characters.
    like this i got string. now i only want  after the symobl( -) text (san
                                                                                    rani
                                                                                    super)  .how can i pick that
    can anyone provide me regular expressions.
    Thanks & Regards
    Sandya
    Edited by: sandya rani on Jan 29, 2010 2:51 PM

    REPORT  ZTEST.
    data: str1 TYPE string,
    str2 TYPE string,
    str3 TYPE string,
    lenth TYPE string,
    str4 TYPE string,
    temp type i value '0'.
    data: ii type i value '0',
          jj type i value '1'.
    Data : begin of itab OCCURS 0,
    l_string type string,
    end of itab.
    itab-l_string = '3000000-GUNDALA20001'.
    append itab.
    clear itab.
    itab-l_string = '2045677-iCVj1001'.
    append itab.
    clear itab.
    itab-l_string = '3000-ragh30001'.
    append itab.
    clear itab.
    loop at itab.
      MOVE 0 TO ii.
      MOVE 1 TO jj.
      SPLIT itab-l_string AT '-' INTO: str1 str2 .
      clear: itab-l_string,str1.
      lenth = strlen( str2 ).
      while temp < lenth.
        str4 = str2+ii(jj).
        if str4 CA 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' or str4 CA 'abcdefghijklmnopqrstuvwxyz'.
          if sy-subrc = 0.
            CONCATENATE str3 str4 into str3.
          endif.
          ii = ii + 1.
        ENDIF.
        temp = temp + 1.
      ENDWHILE.
      write: / str3.
      clear: itab, ii, jj,str1, str2, str3, str4,temp, lenth.
    Endloop.

  • Hey the metallic part of the earpods that goes into my ipod touch broke into the device. Can i get a replacement from the apple store if i still have the box?

    Hey the metallic part of the earpods that goes into my ipod touch broke into my ipod touch. Can i get a replacement from the apple store if i still have the box?

    If within the warranty period and not abused, Apple will exchange them at no cost.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

  • Got a iphone 4 3 days ago, set it all up and it crashed. Today I got a replacement from the store, but when I try and log in to my apple id so I can start downloading apps, it says that the security code of my credit card is invalid. Why is this happening

    I got a new iphone 4 3 days ago. YAY! Got it all set up, downloaded some apps etc, and it kept crashing.
    I took it back into the store and they replaced it. Today however, I tried to download some apps, and it keeps prompting me to log into my apple id. When I do, I enter my password etc... then I get to the part for payment, and using the same credit card I used for the first phone i input the exact info that worked for the first phone. It keeps telling me "SECURITY CODE IS INVALID" but I KNOW I am entering this number correctly.
    Are you only allowed to use a credit card once? Has my second phone crashed? What gives? 
    Thank you for any help... I am new at this and not so good...

    Launch iTunes. From the menu bar click Store / View My Account
    Click: Edit Payment Information
    Make sure you have the correct Security Code.
    Then click: Done
    And try resetting your Apple ID password.  https://iforgot.apple.com/cgi-bin/WebObjects/DSiForgot.woa/wa

  • I am reading from an instrument a 1D string array of numbers in ascii. I want to be extract the actual data values from the string. How do I do that?

    labview 6i. Using sr785 instrument.

    Two ways. Use Fract/Exp to Number function on the Strin>Strin Number Conversion palette. It accepts both individual or strin array inputs. Wire your string array in an get an array of doubles out. You can also use Scan From String on the String palette inside of a for loop. The for loop will autoindex the string array in and autoindex an array of doubles out.
    Attachments:
    string_to_double.jpg ‏10 KB

  • How can i extract using while the time from the string ?

    First time how can i extract the time as string ?
    And second how can i extract the time as DateTime.Now ?
    public static void ExtractDateTime()
    htmltoextract = new Uri("http://test.com");
    client = new WebClient();
    f = client.DownloadString(htmltoextract);
    client.Dispose();
    int index = 0;
    while (index != -1)
    int t = f.IndexOf(firstTag);
    int g = f.IndexOf(lastTag);
    a = f.Substring(t + firstTag.Length, g - t - 8);
    The string look like this: thisisateststring201309202145andthenextimeinthestringis201309202130andthelastofthisexampletimeinthisstringis201309202115
    What i need to do is first time to extract the time as string to a List<string> like this:
    index 0 201309202145
    index 1 201309202130
    index 2 201309202115
    The second time to extract the times as this time format: YYYYMMDDhhmm and also to add the times to a List.
    First time and second time i mean first example and second example. To use my code but first time to extract it as strings second example as the format of YYYYMMDDhhmm
    And i need to use the while and indexof and substring in this cases.

    Is the region always going to be "eu" or are you going to have more than one region.  Since you are reading a string DateTime from different timezone than the computer you are reading the data you have to convert to a different timezone. 
    It looks like you have at least 'is' and 'eu' for regions.  I don't know what offsets you need so try something like this.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Text.RegularExpressions;
    using System.Globalization;
    using System.IO;
    namespace ConsoleApplication1
    class Program
    static void Main(string[] args)
    string input = File.ReadAllText(@"c:\temp\test.txt");
    string pattern1 = @"imageUrls = \[[^\]]*\]";
    Regex ex1 = new Regex(pattern1, RegexOptions.Singleline);
    string pattern2 = @"region=(?'region'[^&]*)&time=(?'time'\d{12})";
    Match match1 = ex1.Match(input);
    Regex ex2 = new Regex(pattern2, RegexOptions.Singleline);
    MatchCollection matches2 = ex2.Matches(match1.Value);
    IFormatProvider provider = CultureInfo.InvariantCulture;
    List<DateTime> dateTime = new List<DateTime>();
    foreach (Match match2 in matches2)
    string region = match2.Groups["region"].Value;
    DateTime dt = DateTime.ParseExact(match2.Groups["time"].Value, "yyyyMMddHHmm", provider);
    switch (region)
    case "eu" :
    dt.AddHours(1);
    break;
    case "is":
    dt.AddHours(-1);
    break;
    dateTime.Add(dt);

  • How to get the last sub folder value from the string in Webi report

    I have an object coming from universe, this object will contain string e.g. \\Users\Public\Pictures\Sample\
    or    \\Users\Doc\BI\BO\Webi\
    I need the last sub folder from this path to be displayed i.e. Sample and Webi.
    I would like to know how it can be done.
    I tried using formulas like POS, SubStr and Length. however the issue is that the length of the the sting is not fixed and the number of "\" are also not fixed.
    I would appreciate any help regarding this.
    Regards,
    Yogesh

    Hi,
    What is the formula you have written though?.
    =length(right([folderpath]);pos([folderpath];"\")+1)
    Thanks,
    Jothi

  • Cut the field from the string output.

    I have a column in my database which might have string value as
    field1="string1" field2="string2 field="string3" ....
    I want to cut the subtring "string2" in my select query. I know it can be done easily with some unix command, but I want to do it in my select query. Can somebody help me with this problem?

    If the required string always come after field2= then below would help you. Is this what you are looking for?
    SQL> with t
      2  as
      3  (select 'field1="string1" field2="string2" field="string3"' str from dual
      4  )
      5  select substr(str, instr(str, 'field2=') + 7, 9) from t
      6  /
    SUBSTR(ST
    "string2"Message was edited by:
    Mohana

  • How can i parse the number from the string each time automatic ?

    I have this two lines:
    last_file = fi[fi.Length - 1].FullName;
    string lastFileNumber = last_file.Substring(86, 6);
    In last_file i have: C:\\Users\\chocolade1972\\AppData\\Local\\mws\\My Weather Station\\radar_temp_directory\\radar000142.gif
    So i counted and found that the number in this case 000124 is starting from index 86 and length 6
    But for example on my brother pc the directory is shorter the name is not chocolade1972 so the index is incorrect.
    It's not 86.
    How can i use the Substring to find the correct index every time on any pc that have a differenet directory length ?
    In this case it's working fine on my pc for any image i can get the number no problems. But i want it to work also on other pc's.

    You can use Regex to match the filename you want. 
    Like Giovhan suggested you can first get the filename like:
    string result;
    result = Path.GetFileName(fileName);// in your example result = radar000142// in my regex I assume that a file can have a number of digits between 5 to 7 digits.Regex filenameRegex = new Regex("\d{5,7}");string number = filenameRegex.Match(result).Value;// by that way you can retrieve all numbers between 5 to 7 digits regardless of filename whether contains all 6 digits// or file that may contain 5 or 7 digits // You can play with the Regex code to decrease or increase number of digits by changing the numbers

  • Has anyone received  a 7th gen nano as a replacement from the 1st gen nano?

    Ok i want to send my iPod nano to Apple but I don't wan to get the 6th gen one (sorry I'm so picky)

    "It'd be nice to get the 7th gen iPod as a replacement"
    Because you'd need a different power adapter?  That's not nice.

  • How to get pattern from the string?

    Friends,
    I have 3 strings variables.
    Name1,Name2 and Name 3.
    I want to search following terms in above variables.
    'T1' 'TURC1' 'TURC 1' and 'TURC 1X'  " X=any character
    'T2' 'TURC1' 'TURC 2' and 'TURC 2X'  " X=any character
    'T3' 'TURC1' 'TURC 3' and 'TURC 3X'  " X=any character
    'T4' 'TURC1' 'TURC 4' and 'TURC 4X'  " X=any character
    If T1      found, then v_res = 1.
    If TURC1   found, then v_res = 1.
    If TURC 1  found, then v_res = 1.
    If TURC1X  found, then v_res = 1X.
    Same for 2 3 and 4.
    So, How can I do this?

    Hi,
        Try below code
    Do for remaining same Strings
    DATA : name1 TYPE string,
           name11 TYPE string,
           name2 TYPE string,
           name3 TYPE string.
    DATA : v_res(2) TYPE n,
           w_fdpos TYPE sy-fdpos,
           str TYPE i,
           ch TYPE c.
    name1 = 'ABCT1XRYTURC1JJTURC 1LLTURC 1A'.
    str = STRLEN( name1 ).
    FIND 'T1' IN name1.
    IF sy-subrc = 0.
      v_res = 1.
      FIND 'TURC1' IN name1.
      IF sy-subrc = 0.
        v_res = 1.
        SEARCH name1 FOR 'TURC 1'.
        IF sy-subrc = 0.
          v_res = 1.
          w_fdpos = syst-fdpos.
          w_fdpos = w_fdpos + 6.
          str = str - w_fdpos.
          name11 = name1+w_fdpos(str).
          SEARCH name11 FOR 'TURC 1'.
          IF sy-subrc = 0.
            CLEAR w_fdpos.
            w_fdpos = sy-fdpos.
            w_fdpos = w_fdpos + 6.
            ch = name11+w_fdpos(1).
            CONCATENATE '1' ch INTO v_res.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDIF.
    FIND 'T2' IN name1.
    IF sy-subrc = 0.
      v_res = 1.
      FIND 'TURC2' IN name1.
      IF sy-subrc = 0.
        v_res = 1.
        SEARCH name1 FOR 'TURC 2'.
        IF sy-subrc = 0.
          v_res = 1.
          w_fdpos = syst-fdpos.
          w_fdpos = w_fdpos + 6.
          str = str - w_fdpos.
          name11 = name1+w_fdpos(str).
          SEARCH name11 FOR 'TURC 2'.
          IF sy-subrc = 0.
            CLEAR w_fdpos.
            w_fdpos = sy-fdpos.
            w_fdpos = w_fdpos + 6.
            ch = name11+w_fdpos(1).
            CONCATENATE '1' ch INTO v_res.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDIF.
    FIND 'T3' IN name1.
    IF sy-subrc = 0.
      v_res = 1.
      FIND 'TURC3' IN name1.
      IF sy-subrc = 0.
        v_res = 1.
        SEARCH name1 FOR 'TURC 3'.
        IF sy-subrc = 0.
          v_res = 1.
          w_fdpos = syst-fdpos.
          w_fdpos = w_fdpos + 6.
          str = str - w_fdpos.
          name11 = name1+w_fdpos(str).
          SEARCH name11 FOR 'TURC 3'.
          IF sy-subrc = 0.
            CLEAR w_fdpos.
            w_fdpos = sy-fdpos.
            w_fdpos = w_fdpos + 6.
            ch = name11+w_fdpos(1).
            CONCATENATE '1' ch INTO v_res.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDIF.
    FIND 'T4' IN name1.
    IF sy-subrc = 0.
      v_res = 1.
      FIND 'TURC4' IN name1.
      IF sy-subrc = 0.
        v_res = 1.
        SEARCH name1 FOR 'TURC 4'.
        IF sy-subrc = 0.
          v_res = 1.
          w_fdpos = syst-fdpos.
          w_fdpos = w_fdpos + 6.
          str = str - w_fdpos.
          name11 = name1+w_fdpos(str).
          SEARCH name11 FOR 'TURC 4'.
          IF sy-subrc = 0.
            CLEAR w_fdpos.
            w_fdpos = sy-fdpos.
            w_fdpos = w_fdpos + 6.
            ch = name11+w_fdpos(1).
            CONCATENATE '1' ch INTO v_res.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDIF.
    Regards
    Bala Krishna

  • In the NI Library VI: Extract Numbers, the string control is automatically loaded each time the VI is opened with "Counting to five: one 2 three 4.0 five. Where is this string data coming from?

    Even after deleting the string "Counting to five: one 2 three 4. five." from the string control and replacing it with another string the original string returns after the VI is saved then reopened. Where is this string data coming from? I've attached a copy of the library function. I've been able in my application to get around the problem by replacing the string control with a string constant. But I'm still curious as to what's going on.
    Thanks,
    Chuck
    Solved!
    Go to Solution.
    Attachments:
    Extract Numbers Test.vi ‏9 KB

    Chuck,
    String control has been set to default with the string you are seeing.  To change this, enter the new string, right click the control and select
    Data Operations>>Make Current Value Default
    Now save your vi.

Maybe you are looking for

  • Regarding goods issue (reversal) against process order

    Dear friends, Recently i have noticed one strange thing in SAP.I have created one process order and against it i have done the confirmation.Now when i go to Transaction code mb1a and select movement type 262 (Goods Issue to process order-reversal) an

  • How to set a link to a specific workbook in a Role Menu

    Hi guys i need to put in a Role menu the link for a specific workbook in BEX i find that is possible but i can´t find the option to aggregate the menu entry.... I hope somebody could help me..... Regards Message was edited by: Oscar Diaz

  • Apple LED Display top and bottom

    Hello, is it normal for the display to be brighter at the top of the screen vs the bottom half? I've noticed that it's slightly more "dark yellow" at the bottom than at the top. Thanks!

  • External display problems, Red dots.

    Display on external monitor is plagued with red dots and horizontal lines, this only occurs with certain resolutions (particularly high resolutions).  I have a late 2010 revision of the Macbook Air ultimate 13inch, using a Griffin mini-display to DVI

  • Embedding pdf in mobile app

    Hi there, I have played around with creating an editable pdf and deploying to android devices. It would have to be a distributed pdf because i cannot guarantee signal. In isolation it works well. I am interested in taking it a step further and creati