Substring or slice function in ISF

substring or slice function in ISF
rc2008.3
Oracle10g
Websphere 6.1
IE6 & IE7
Has anyone used either the ".substring(x,y)" or ".slice(x,y)" functions in version 2008?
I tried the following javascript on load and I get blank results.
a0001_CMN_PARSE_CUSTOMER_OTHER()
  var mgr=serviceForm.Customer_Information.Other.getValue();
 mgr=mgr.slice (6,3);
  alert(mgr);
serviceForm.Customer_Information.Other contains "uid=dfaus00,o=people"
Thank you
Daniel

I recently had a field that was comma separated. I used the split function, which tokenizes a string and returns an array of strings, based on a separator char that you pass to the function.  You can either loop through the array or reference an array element directly. 
var strlArray = new Array();
strArray = str.split(",");  //tokenize string
for ( i in strArray)  {
  var value = strArray[i];
 ....      //process each token
var value = strArray[0]  //reference

Similar Messages

  • SUBSTR and INSTR function

    Hi Gurus,
    I have the data as follows:
    data
    'BIDIE01H/TXT:ZUNE=HA011, CellIndex=144 /CAI:452-01-32201-47001/CAI:45201F7dc9b79a'
    'BIDIE01H/TXT:ZUNE=HA111, CellIndex=124 /CAI:452-01-32201-471/CAI:45201F7dc9b79b'
    and I am trying to write a SQL to get the results:
    CAI
    452-01-32201-47001
    452-01-32201-471
    Any idea to get it done? I did try around with SUBSTR and INSTR functions but not yet sucessed.
    Thanks,
    Alex

    select substr (str, instr (str, '/CAI:') + 5
                  , (instr (str, '/CAI:', -1) - instr (str, '/CAI:'))-5
      from dataas in
    SQL> with data
      2  as
      3  (select 'BIDIE01H/TXT:ZUNE=HA011, CellIndex=144 /CAI:452-01-32201-47001/CAI:45201F7dc9b79a' str from dual union all
      4  select 'BIDIE01H/TXT:ZUNE=HA111, CellIndex=124 /CAI:452-01-32201-471/CAI:45201F7dc9b79b' from dual
      5  )
      6  select substr (str, instr (str, '/CAI:') + 5
      7                , (instr (str, '/CAI:', -1) - instr (str, '/CAI:'))-5
      8                )
      9    from data
    10  /
    SUBSTR(STR,INSTR(STR,'/CAI:')+5,(INSTR(STR,'/CAI:',-1)-INSTR(STR,'/CAI:'))-5)
    452-01-32201-47001
    452-01-32201-471

  • Does Mathscript support Matlab's Slice function?

    Hello,
    I am trying to decide whether to take on a project using Matlab or Labview.  The project will require plotting of volumetric data, both as slices and as 3D volumes.  I currently do not have LabVIEW 8.20 installed on any of our machines, so I am not able to test these things.
    I have not seen Matlab's Slice function in the list of Mathscript functions.  Is it not supported my Mathscript?
    Also, I see that Surf is a supported function; does Mathscript also support the alpha channel control that is present in Matlab for Surf plots?
    Thanks,
    Gary

    Hello Gary,
    Unfortunately, the slice function and the alpha channel are not currently supported by LabVIEW MathScript.  However, the LabVIEW 3D graph control (which is used by the surf command) has some transparency options.  They can't be set from LabVIEW MathScript, but I can provide some more details about how to use them if you want.
    Grant M.
    Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments

  • Convert varchar to date in BO Universe with Substring and instring function

    to_date(substr(xxxx_v.e_details,instr(xxxx_v.e_details,'|',1,2)+1,9),'DD-MM-YYYY') In the universe while defining the object as date i was facing probs can any body help me out. the column xxxx_e_details is having the datatype varchar in database and the third string is date while i was creating the date object in the universe with the above syntax it was getting the error
    The data in this obect is like this xxxx_v.e_details -> wwww|eeee|MM-DD-YY|
    Edited by: mohammed kashif on Mar 31, 2011 11:47 AM

    i am getting the data but  it is in the format 01-03-0201. The year format  for 2010 is populating as 0201. i am not able to think whether it is due to instring function which is reading data like this. Need suggestion from experts.............

  • Deactivating/Activating Data Slice Function

    Hi, I'd also like a copy of the document of how to implement a Function to Activate or Deactivate a Data Slice.
    Reward points guaranteed.

    Hello Jesus,
    Here is the Report Code.
    <i>This code was written as Programm without involving the BPS planning functions, because it was meant to be included in the Process chains.
    When you wish flexibility, for example to operate it in the Web using planning functions then, then you have to :</i>
    <i>1) create a planing function of type exit.
    2.a) You would then move the code in the "Init exit function". Fill the code mentioned below with necessary changes.
    2.b) The second exit function would be then an empty function module.
    3) In the Web Interface Builder you would create a Button component of type "Function Button" and set the properties to the planning function you created in steps 1-2.</i>
    Thanks and Good Luck!
    P.S.
    When you require the screenshots, then let me know your mail id.
    ** Start of Code ***
    DATA : ls_slice TYPE UPC_Y_DATASLICETXT.
    DATA : lt_areas TYPE UPC_YTO_AREA_KEY,
           ls_areas TYPE UPC_YS_AREA_KEY,
           ls_type  TYPE UPC_Y_AREA_TYPE,
           ls_area  TYPE UPC_Y_AREA,
           ls_dataslice LIKE UPC_DATASLICE,
           lt_dataslice TYPE STANDARD TABLE OF UPC_DATASLICE,
           ls_action TYPE C.
    **************** Selektionsbildschrim ***************************
    SELECTION-SCREEN  BEGIN OF BLOCK basics WITH FRAME TITLE TEXT-004.
    PARAMETERS:
          I_MANDT     TYPE     MANDT         DEFAULT SY-MANDT,
          I_LANGU     TYPE     LANGU         DEFAULT SY-LANGU,
          I_AREA     TYPE     UPC_Y_AREA OBLIGATORY.
    SELECTION-SCREEN END   OF BLOCK basics.
    SELECTION-SCREEN  BEGIN OF BLOCK slices WITH FRAME TITLE  TEXT-005.
      SELECT-OPTIONS IS_SLICE FOR ls_slice NO INTERVALS.
    SELECTION-SCREEN END   OF BLOCK slices.
    SELECTION-SCREEN BEGIN OF BLOCK action WITH FRAME TITLE TEXT-003.
    PARAMETERS:
          I_ACTV RADIOBUTTON GROUP RAD1,
          I_DACT RADIOBUTTON GROUP RAD1 DEFAULT 'X'.
    SELECTION-SCREEN END   OF BLOCK action.
    SELECTION-SCREEN :
        BEGIN OF SCREEN 100 TITLE TEXT-001 AS WINDOW,
          INCLUDE BLOCKS basics,
          INCLUDE BLOCKS slices,
          INCLUDE BLOCKS action,
        END   OF SCREEN 100.
    *****************  Ende *******************************************
    START-OF-SELECTION.
      ls_area = I_AREA.
      CALL FUNCTION 'UPC_AREA_GET'
        EXPORTING
         I_AREA             = I_AREA
         I_ENQMODE          = 'E'
         I_LANGU            = I_LANGU
       IMPORTING
         E_TYPE             = ls_type
         ETO_AREAM          = lt_areas.
      IF SY-SUBRC NE 0.
    *    RAISE EX_AREA_INVALID.
      ENDIF.
      IF LS_TYPE EQ 'M'.
        READ TABLE lt_areas INTO ls_areas index 1.
        IF ls_areas IS NOT INITIAL.
          ls_area = ls_areas-area.
        ELSE.
    *      RAISE EX_AREA_INVALID.
        ENDIF.
      ENDIF.
      IF I_DACT EQ 'X'.
        ls_action = 'X'.
      ENDIF.
      LOOP AT IS_SLICE
           WHERE ( SIGN = 'I'
               AND OPTION = 'EQ' ).
        SELECT d~mandt d~area d~sort d~guid d~inactive
               INTO ls_dataslice
               FROM ( UPC_DATASLICE  AS d  INNER JOIN
                      UPC_DATASLICET AS t
                      ON  d~mandt = t~mandt
                      AND d~area  = t~area
                      AND d~sort  = t~sort
                      AND t~langu = I_LANGU
                      AND t~text  = IS_SLICE-LOW ).
          ls_dataslice-INACTIVE = ls_action.
          INSERT ls_dataslice INTO TABLE lt_dataslice.
        ENDSELECT.
      ENDLOOP.
      LOOP AT lt_dataslice INTO ls_dataslice.
        UPDATE UPC_DATASLICE FROM ls_dataslice.
      ENDLOOP.
    *** End of code ***
    Now use the function, Jump->Text symbols and enter these
    Text defintions:
    <b>1) Text Symbols:</b>
       001 - Activation/Deactivation of Planning Areas
       002 - Choose Action
       003 - Planning area details
       004 - Data Slice Details
    <b>2) Selection Texts:</b>
       IS_SLICE - Data Slices
       I_ACTV - Activate
       I_AREA - Planning Area
       I_DACT - Deactivate
       I_LANGU - Language
       I_MANDT - Client

  • Dynamic PL/SQL & substr, instr function

    I am having trouble with incorporating the SUBSTR and INSTR functions into my dynamic PL/SQL procedure using Oracle 8i.
    I have data that is packed into one column seperated by a delimiter (':')
    I need to seperate the data to use indicidual pieces.
    If I run my query in general -
    select substr(secondcol, 1, instr(secondcol, ':',1,1)-1) ONE,
    substr(secondcol,instr(secondcol, ':',1,1)+1,instr(secondcol, ':',1,1)-1) TWO,
    substr(secondcol,instr(secondcol, ':',1,2)+1,instr(secondcol, ':',1,1)-1) THREE,
    substr(secondcol,instr(secondcol, ':',1,3)+1,instr(secondcol, ':',1,1)-1) FOUR
    from temp_table where firstcol=100
    This works and gives me the right result.
    e.g
    DATA :
    Firstcol SECONDCOL
    100 1:2:3:4
    Result:
    ONE TWO THREE FOUR
    1 2 3 4
    However to make this generic if I use it in a function passing it a parameter which has ':' delimited data it does not work and gives me errors. All I want is to get the output as a string that looks like my query above so I can use it in my proc.
    create or replace function MYJUNK(TFieldNew IN CHAR)
    RETURN CHAR IS
    UpdateString Varchar2(100);
    BEGIN
    UpdateString := 'First=substr('||TFieldNew||', 1, instr('||TFieldNew||', '':'',1,1)-1) ONE, ';
    UpdateString := UpdateString || ' Second=substr('||TFieldNew||', instr('||TFieldNew||', '':'',1,2)+1, instr('||TFieldNew||', '':'',1,1)-1) TWO, ';
    UpdateString := UpdateString || ' third=substr('||TFieldNew||', instr('||TFieldNew||', '':'',1,3)+1, instr('||TFieldNew||', '':'',1,1)-1) THREE from temp_table';
    return UpdateString;
    END;
    The function compiles but gives me run time errors
    This is what I get -
    SQL> select myjunk('''1:2:3:4''') from dual;
    select myjunk('''1:2:3:4''') from dual
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SGHDTA.MYJUNK", line 8
    ORA-06512: at line 1

    You are getting an error because updatestring is longer than the 100 characters you defined it as. Try using VARCHAR2(4000). Also, if you are trying to generate the sql statement, you need to get rid of first=, second= and third= when you build the string.
    This is what your function returns. I put in line breaks for clarity:
    First=substr('1:2:3:4', 1, instr('1:2:3:4', ':',1,1)-1) ONE,
    Second=substr('1:2:3:4', instr('1:2:3:4', ':',1,2)+1, instr('1:2:3:4',':',1,1)-1) TWO, 
    third=substr('1:2:3:4', instr('1:2:3:4', ':',1,3)+1,instr('1:2:3:4', ':',1,1)-1) THREE
    from temp_tableIf you are trying to actually parse the column, then you need something more like:
    create or replace procedure MYJUNK(TFieldNew IN VARCHAR2,out1 OUT VARCHAR2,
                                       out2 OUT VARCHAR2, out3 OUT VARCHAR2) is
    BEGIN
       out1 := SUBSTR(TFieldNew,1, INSTR(TFieldNew,':',1,1)-1);
       out2 := SUBSTR(TFieldNew, INSTR(TFieldNew,':',1,2)+1, INSTR(TFieldNew,':',1,1)-1);
       out3 := SUBSTR(, INSTR(TFieldNew,':',1,3)+1, INSTR(TFieldNew,':',1,1)-1);
    END;

  • Using substring function with error

    Hi Guys,
    I have a source field with 1200 characters which need to map to multiple target segments for  132 count of this source field.
    This is not a mandatory field so it sometimes come without any value.
    I am using substring function to breakout the string for every 132 characters and mapped to the target segments.
    There are two problems, first it seems that if source is blank, there will be error.
    Second, if source field come with only eg. 300 characters, error will also occurs.
    I have searched thru SDN and try some of the UDF but to no avail.
    Appreciate your guidance on this problem.
    Regards
    FNG

    H Rahul,
    I have tried your quote but face some syntax error as follows
    Function calculate, Line 6:
    cannot find symbol symbol  : method length() location: class java.lang.String[] j = input.length();       
    Function calculate, Line 26:
    cannot find symbol symbol  : method subString(int,int) location: class java.lang.String[]           
    result.addValue(input.subString(0,EndIndex));                                      ^
    Function calculate, Line 34:
    cannot find symbol symbol  : method subString(int,int) location: class java.lang.String[]                result.addValue(input.subString(StartIndex,EndIndex));                                              ^
    Function calculate, Line 40:
    cannot find symbol symbol  : method subString(int,int) location: class java.lang.String[]                result.addValue(input.subString(StartIndex,EndIndex));                                              ^ Note: /usr/sap/D03/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapd66a3a60002911e09ba9e41f132d6b68/source/com/sap/xi/tf/_MM_MT_COMS_TO_ZME_CRE_CHG_CONTRACT_.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /usr/sap/D03/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapd66a3a60002911e09ba9e41f132d6b68/source/com/sap/xi/tf/_MM_MT_COMS_TO_ZME_CRE_CHG_CONTRACT_.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors

  • Analytical View - Substring function and Other functions.

    Hello All
    I am trying to use substring and trim function for a value/string and get the field value from position 6 - 10. in analytical view.
    Example: Field name XYZ (Values showing as: ASDFG GETVALUENW  2345) --> (data type :22 VARCHAR)
    Output must be : GETVALUENW (which is 10 characters, from position 6 after trimming) which I am wring to new filed in Calculated coloumns.
    Trying the use built-in functions but syntax wise missing some thing need your inputs.
    Regards
    Kiran.

    Hi Kiran Avunuri,
    A small thought process.
    Have you tried something similar(syntax) in your view.
    BR
    Prabhith

  • Duplicating Effort in SQL functions

    Hi, If I have a piece of SQL such:
    SELECT
          SUBSTR(really complex nested functions [no PLSQL function / context switching however]) AS COL1,
          LENGTH(SUBSTR(really complex functions [no PLSQL function / context switching however])
    AS COL2
    FROM mytableThe second column is obviously just the length of COL1
    Does SQL engine when processing the function for COL2, execute the "really complex function" again - before getting the LENGTH? Or does it just reuse what it already calculated in COL1?
    If not, is there anyway of allowing the "Really complex function" result resued by other COLs?
    I do not wish to use a PLSQL function.
    Thanks for any help

    Well the CBO is pretty clever, it won't do two passes if it realises it's not necessary. Here's a bit of simple obfuscation SQL with and without inline view explained:
    EXPLAIN PLAN
    SET STATEMENT_ID='ORIG'
    FOR
    SELECT last_name, '555' || Translate (Substr (phone_number, 4),
                        '0123456789',
                        '5678901234') tel,
              Length ('555' || Translate (Substr (phone_number, 4),
                        '0123456789',
                        '5678901234')) len
    FROM employees;
    EXPLAIN PLAN
    SET STATEMENT_ID='ILV'
    FOR
    SELECT last_name, tel, Length (tel) len
    FROM (
    SELECT last_name, '555' || Translate (Substr (phone_number, 4),
                        '0123456789',
                        '5678901234') tel
    FROM employees);
    SQL> START XPLAIN
    Explained.
    Explained.
    Original
    Query Plan
    SELECT STATEMENT Cost = 3
    TABLE ACCESS FULL EMPLOYEES
    Inline View
    Query Plan
    SELECT STATEMENT Cost = 3
    TABLE ACCESS FULL EMPLOYEES
    Rollback complete.
    SQL>
    You might also look at the 11g virtual column feature where you define columns of a table as functions of other columns.

  • Parameters for substr and dbms_lob.substr

    The syntax for substr in SQL functions and for the function in dbms_lob package is not matching and hence confusing for programmers. It will be less confusing if parameters for both functions are of the same order.
    In Sql functions the the syntax for substr is substr(string, offset, amount)
    In dbms_lob package the syntax for the substr function is dbms_lob.substr(lob_loc, amount, offset)
    Mohan

    I think he wants to send a suggestion to Oracle via this forum.

  • Parsing Column Value. SQL / Stored Proc/ Function ?

    Hi,
    I just started writing SQL. Need your valuable input for the following query,
    Need to query a table and parse a column to produce a desired output.
    like suppose my column value is
    #ADFA
    /SDFGAS
    {ABC}: 123
    {BCA}: 456
    {DEF}: 789
    and i need to get an out put as follows
    {ABC} {BCA} {DEF}
    123 456 789
    so the patterns are defined.
    I some how tried and reached through SQL, but there should be better way than this. So posted this question.
    I tried using SQL itself (using substr, instr & decode functions in the select statement)... with out using stored proc/ function as i have not created one earlier.. I am just learning the syntax and trying it.
    The psuedo code i have planned is
    function substring(column_value, search_string)
    var start_index NUMBER;
    var end_index NUMBER;
    var result VARCHAR2;
    result = 'N/A';
    start_index = instr(column_value, search_string) + 4
    if start_index >= 4
    end_index = instr(substr(column_value, 0, start_index), CHR(13)-1)
    if start_index >= 4 && end_index >=0
    result = substr(column_value, start_index, end_index);
    return result;
    I just wrote it like writing in a programming language. Need to implement this through Stored Proc/ Function. Please let me know your comment on this

    Oops, I think regular expressions are not available in my current oracle version :-(
    I am having Oracle 9i.
    Got it.. Yes it is available from 10G onwards.. :-(
    Message was edited by:
    Thiru.Thiru

  • Slices & Saving For Web

    Hi all,
    I am making a bulk emailer - I have a Jpeg (originally designed in Illustrator) that I need to slice and save as an html. It is a long skinny jpeg for optimal screen/email viewing (750 x 4389 pixels).
    After resizing the original image to 72dpi, slicing the image and saving out (as images & html), when I view the html the images appear broken (broken image icon in the corner) - why does this happen. When I do the exact same thing with any other image, this does not happen.
    At first I thought the image was too long, but then if I reduced the height of the image to nearly half the size - and it still did the same thing. Sometimes (after playing with some settings) some of the slices will appear and others will stay 'broken'
    Please help me!

    Mylenium is correct - the slice function of Photoshop is not the right way to create a mass email.
    There are many things to consider in terms of email, and too much to go into right now - for example many email clients will have the images turned off by default. A good book on the subject is this one:
    Patterson, Mathew. Create Stunning HTML Email That Just Works!. SitePoint. © 2010
    Get it, read it, then design and code it.

  • EGO Item Description creation substr

    Hallo,
    using EGO in 11i or R12.0.4 with item description function based. someone told me, that there exists a configuration page where you can define e.g. "from 3rd to 5th" of the Description of Attribute1 and "from 7th to 8th" of Attribute2.
    Now the question : Is substr in plsql function the only way to do this ?
    Exists this unkown feature ?
    Thanks

    I have similar needs. I'm trying to automate DVD production from a web site. The site generates a unique order for a list of video clips. That list needs to drive the creation of menus to access each clip, and needs to drive addition of those particular video tracks to the DVD, link and burn.
    I know that DVD Studio Pro can import XML files for each item; menus and video tracks, however there's a paradox in that the process breaks links for any items not already imported. This means that previous/next links will be alternately broken every time.
    I'm trying to figure out why DVDSP cannot import more than one item description at a time. When I look at the XML file, it certainly looks like it could include multiple items, but I get errors when I try to assemble two exported items into a single item for import.

  • How to return less than 4000 characters from pl/sql function in SQL call?

    Hello,
    Is there a way to limit length for varchar when calling pl/sql function from SQL? No matter how I write it it always returns 4000 bytes.
    If there is none, then does it make sense ever to specify lenght of the return variable?
    My goal is to encapsulate business rules within pl/sql functions. But if all varchar columns are returned as 4000 it is not feasible solution. Not only this is a performance issue in a data warehousing environment, bet when using those rules within SQL views user experiance would suffer as well. Are we left with the rule hardcoding solution? Also, I think that using SUBSTRING or TRUNC functions on top of business rules function defeats the purpose.
    Please see my attempt below. Your thoughts are appreciated.
    Thank you.
    /* Formatted on 06/11/2009 2:26:41 PM (QP5 v5.126.903.23003) */
    CREATE OR REPLACE FUNCTION mytest (myvar_in VARCHAR2)
    RETURN VARCHAR2
    AS
    l_return VARCHAR2 (15);
    BEGIN
    l_return := 'TEST_' || myvar_in;
    RETURN l_return;
    END mytest;
    CREATE TABLE TEST_ME
    AS
    SELECT mytest ('ME') AS VERYLONG FROM DUAL;
    describe TEST_ME;
    RUN ABOVE CODE:
    Function created.
    Table created.
    TABLE TEST_ME
    Name Null? Type
    VERYLONG VARCHAR2(4000)
    Edited by: Ilmars2 on Jun 11, 2009 2:46 PM

    Pointless,
    Thanks for jumping in on this and I am glad you asked :).
    I do not doubt that it is an architectural challenge. Otherwise it would have been done already! I am struggling with the fact that SQL knows what data type the function will return, but does not know the length of it, precision or scale. I will leave it at that.
    I will go with some high level requirements to allow for alternative thoughts:
    1)     Business defined rules. There are multiple types of business rules. Simple lookups, bucketing, complex calculations, data retrieved from other tables etc. We have about 500 different rules. Some of them are even overloaded – different inputs will produce the same output.
    Some simple examples are:
    Rule1 - Fruit
         when ‘A’ then ‘Apple’
         When ‘O’ then ‘Orange’
         Else ‘N/A’ end
    Rule2 – Bonus
         when STATUS =’Active’ and LEVEL=’CEO’ then bonus=salary*1.0
         when STATUS =’Active’ and LEVEL=’nobody’ then bonus=salary*0.01
         else bonus=0
    Rule 3 – Income Bracket
         When more than 0 and less or equal to 30000 then INC_B=’LOW’
         When more than 30000 and less of equal to 60000 then INC_B=’MIDDLE’
    Etc.
    2)     Challenge: All data users in an organization need to use the same rules (let’s assume data source is Oracle database). How to expose all the rules to different types of users in manageable way? Types of users – analysts, application/web developers, data warehouse teams etc.
    3)     Current system: Not only each user has coded their own rules (luckily based on the common specification), but hard-coding is taking place for each query within the confines of one project. The project I just looked at had about 12 modules with 30 hardcoded queries. Oops! Few rules just changed.
    My take: I was leaning toward encapsulating business logic within UDF’s. UDF’s provide all the flexibility we need + overloading. All the functions could be consumed by data warehouse team (building summary tables, cubes etc.) and application developers. For power users we could build views by applying the same functions on top of the source data. Thus avoid data duplication. It seemed win-win until this 4000 issue :).
    Your thoughts on alternative approaches are appreciated.
    Thank you.

  • How to use String Function Find() in a String Value Test?

    Hi,
    i intend to match a substring of the string returned from my UUT when using a String Value Test - VI call.
    I write the returned string to a Local Variable type String (Locals.data_read) and in the Limits Tab - under Expected String Value am using Find(Locals.data_read, "Connected"). When i Check the expression for Errors - i get a warning "Expected String, found Number {64-bit Floating Point}. this value will cause a run-time error."
    What am i missing?
    Thanks
    Kech
    Solved!
    Go to Solution.

    The Find function evaluates to a number:
    Number Find(String string, String stringToSearchFor, Number indexToSearchFrom = 0, Boolean ignoreCase = False, Boolean searchInReverse = False)
    Returns: The zero-based character index, starting at the beginning of the string, of the first character in the substring.  The function returns -1 if it does not find the substring.
    It looks to me like you need to do a numeric step type.  Not a string value test.
    Or you can do something like this:
    Find(Locals.data_read, "Connected") < 0 ? "Doesn't Matter What Is Here" : Locals.data_read
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

Maybe you are looking for

  • Changing content in a region

    Hi, I have a requirement which I am trying to do it using Javascript in APEx Requirement is I need to change the content of the PL/SQL (Anonymous Block) region in apex when a button is pressed This would be generated when the page is loaded. It will

  • E1200 Access Policy Problem

    Hi everyone I just brought the E1200 Router I am having trouble setting up a schedule for my childern My goal is to allow access at 5pm to 10pm. But the second collum of time does not have time in PM. is there a way to do it? Or i need to buy a upgra

  • How to apply notch filter in the PID control

    Dear all, I am using PID control in my positioning stage but the output is every noisy with some fixed frequencies(30,50,150Hz). I want to add a notch filter to take off those noise. However, I do not know how to apply the notch filter to the PID mod

  • My pDFs will not open

    I can not open PDFs

  • Skype Error "Could not open Key: HKEY_LOCAL_M...

    I get this error.What can i do?