A string of edition

Hey all,.

If I get the following string: 00123456

How can I get rid of first two digits (00) each time.

Thanks in advance

ZAG

String fullString = "001234";
String resultString = fullString.substring(2);

Tags: BlackBerry Developers

Similar Questions

  • Best way to escape from insert on string literals by using web services

    I have a case where an opportunity name contains something like: "example of Texas-scanning-5/19/11 ' and the web service that creates work orders because it returns java.lang.Exception: field 'Opportunity name' in the case of ' OnDemand custom object 1' integration component contains an invalid query expression: ="example of Texas-Scanning-5/19/11 '(SBL-EAI-13002),»»

    I want to escape
    opportunity.setOpportunityName (StringEscapeUtils.escapeSql (opportunity.getOpptyName ())); Opportunity name

    But now, it returns
    Can not find the entry "=" example "s of Texas-scanning-5/19/11" in the list of choices limited for the 'Opportunity name' field 'custom object 1' integration component (SBL-EAI-04401) < / siebelf:errormsg > < / siebelf:error > < / siebelf:errorstack >

    Nobody knows the right way to escape this string?

    Edited by: kroberts may 20, 2011 12:23

    I think you should replace each tick with two ticks, but only in the value of the current field.

    Your original search term
    = "Example of Texas-scanning-5/19/11 '.

    Should be
    =' Example "s of Texas-scanning-5/19/11 '

  • EditField setText problem...

    Hi everyone out there.

    I have a textField in which I enter the text

    I added a listener to this text field

    hwen I entered text in the text box for each two characters that I need to store the characters and I need to replace the text with ".". (once the dowry for a character)...

    is it possible to do...

    Here is the code how I did it...

    but I know where I am doing wrong...

    but I don't get how to solve this...

    edit.setChangeListener (new FieldChangeListener() {}

    ' Public Sub fieldChanged (field field, int context) {}

    int length = edit.getTextLength ();
    If (length! = 0) {}
    String [];

    If (length % 2 == 0) {}
    int size;
    If (length / 2 == 0) {}
    size = 1;
    } else
    size = length / 2;
    String = new String [size];
    int j = charIndex;
    StringBuffer buffer = new StringBuffer();
    for (int i = 0; i)< size;="" i++)="">
    If (Edit.GetText (j, 2)! = null)
    String [i] = edit.getText (d, 2);
    for (int y = 0; y)<>
    buffer. Append(".");
    vertical.deleteAll ();
    vertical. Add (new LabelField (string [i]));
    vertical. Add (new LabelField (buffer.toString ()));
    j = j + 2;

    edit.setText (buffer.toString ());    When this line is running the listener calls once again
    }

    }

    } else
    vertical.deleteAll ();
    }

    });

    Hey Hey...

    I did it with her...

    Thank you all...

  • Does anyone has problems with the Pgm/Src/monitor overlays since the upgrade to 2015.3?

    I'm running a Windows 10 system and jumped right in to 2015.3 last week to begin a new documentary project runs.

    While the construction of a first string / radio edit I noticed that without overlays showed in the panels of the Source monitor or program on my monitor, despite overlays being enabled for all of the foregoing. No amount of toggling the State of overlays on and outside, or change the settings for overlays, layout, etc. could force it to display. The only way I could get them back was to exit and restart the application, but the resurgence was temporary. After a short period of time (that is to say the next time I looked / need them) recoveries once more disappeared. Weird.

    Never experienced this in 2015.2 or before.

    Start the computer and now it works...

  • User Defined functions in the Mapper

    I have user-defined functions that work in BPEL but I can't make them work in the Mapper. They appear when expected for jDeveloper but throw "function not found" errors

    Can someone look at my config files and see if the error comes out? Thank you bunches!

    BPEL file:

    " < soa-xpath-functions xmlns =" http://xmlns.Oracle.com/SOA/config/XPath "" "

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    version = "11.1.1.

    resourceBundle = "oracle.tip.tools.ide.common.resource.IDEMessageBundle"

    >

    < name of the function = "f17:editCaseNumber" >

    com.F17.CustomFunction.editCaseNumber < className > < / className >

    < return type = "tree" / >

    < params >

    < param name = "stringToFormat" type = "string" / >

    < param name = "order" type = "string" / >

    < / params >

    number of valid cases and formats < desc > < / desc >

    < detail >

    <! [CDATA [this is a custom function.] If you use it, you must include the

    Following namespace declaration in your BPEL file.

    < br / > < br / >

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    < br / > < br / >

    USE: f17:editCaseNumber(string,string) < br / >

    Channel 1 is the data < br / >

    Channel 2 is the command. Valid commands are: < br / >

    1 = number of control check and come back as nnnnnnnnnn < br / >

    2 = number of control check and come back as nnn-nnnnnnn < br / >

    3 = Append check digit and return under nnnnnnnnnn < br / >

    4 = Append check digit and return under nnn-nnnnnnn

    < br / > < br / >

    Returns XML document fragment: < br / >

    Import of f17userDefinedFusnctions.xsd space variable prototype. < br / >

    See documentation for more details.]] >

    < / details >

    < / feature >

    < name of the function = "f17:compressFile" >

    com.F17.CustomFunction.compressFile < className > < / className >

    < return type = "tree" / >

    < params >

    < param name = "stringToFormat" type = "string" / >

    < / params >

    < desc > compress long strings by DB storage < / desc >

    < detail >

    <! [CDATA [this is a custom function.] If you use it, you must include the

    Following namespace declaration in your BPEL file.

    < br / > < br / >

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    < br / > < br / >

    USE: f17:compresFile (string)

    < br / > < br / >

    Returns XML document fragment: < br / >

    See documentation for more details.]] >

    < / details >

    < / feature >

    < name of the function = "f17:sortList" >

    com.F17.CustomFunction.sortList < className > < / className >

    < return type = "tree" / >

    < params >

    < param name = "listIn" type = "string" / >

    < / params >

    lists of kinds of < desc > < / desc >

    < detail >

    <! [CDATA [this is a custom function.] If you use it, you must include the

    Following namespace declaration in your BPEL file.

    < br / > < br / >

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    < br / > < br / >

    USE: f17:sortList (String) < br / >

    Build the string as: & lt; list & gt; & lt; point & gt; [data] & lt; / point & gt;... & lt; / list & gt; < br / >

    Returns XML document fragment: < br / >

    Import of f17userDefinedFusnctions.xsd space variable prototype. < br / >

    See documentation for more details.]] >

    < / details >

    < / feature >

    < name of the function = "f17:replaceString" >

    com.F17.CustomFunction.replaceString < className > < / className >

    < return type = "string" / >

    < params >

    < param name = "StringToFix" type = "string" / >

    < param name = "RegX" type = "string" / >

    < param name = "replaceString" type = "string" / >

    < param name = "mode" type = "string" / >

    < / params >

    Sets < desc > replaceFirst and replaceAll functions java < / desc >

    < detail >

    <! [CDATA [this is a custom function.] If you use it, you must include the

    Following namespace declaration in your BPEL file.

    < br / > < br / >

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    < br / > < br / >

    USE: f17:replaceString(String,String,String,String) < br / >

    Chain change, regular expression, mode [optional] replace the string - 1 = all, 2 = first by default all the < br / >

    See documentation for more details.]] >

    < / details >

    < / feature >

    < / soa-xpath-functions >

    file Mapper:

    < soa-xpath-functions

    " xmlns =" http://xmlns.Oracle.com/SOA/config/XPath "" "

    ' xmlns:repl = ' http://www.Oracle.com/xsl/transform/Java/COM.F17.CustomFunction.replaceString "" "

    ' xmlns:comp = ' http://www.Oracle.com/xsl/transform/Java/COM.F17.CustomFunction.compressFile "" "

    version = "11.1.1.

    resourceBundle = "oracle.tip.tools.ide.common.resource.IDEMessageBundle"

    >

    < name of the function = ' model: compressFile ">

    com.F17.CustomFunction.compressFile < className > < / className >

    < return type = "tree" / >

    < params >

    < param name = "stringToFormat" type = "string" / >

    < / params >

    < desc > compress long strings by DB storage < / desc >

    < detail >

    <! [CDATA [this is a custom function.] If you use it, you must include the

    Following namespace declaration in your BPEL file.

    < br / > < br / >

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    < br / > < br / >

    USE: f17:compresFile (string)

    < br / > < br / >

    Returns XML document fragment: < br / >

    See documentation for more details.]] >

    < / details >

    < / feature >

    < name of the function = "repl:replaceString" >

    com.F17.CustomFunction.replaceString < className > < / className >

    < return type = "string" / >

    < params >

    < param name = "StringToFix" type = "string" / >

    < param name = "RegX" type = "string" / >

    < param name = "replaceString" type = "string" / >

    < param name = "mode" type = "string" / >

    < / params >

    Sets < desc > replaceFirst and replaceAll functions java < / desc >

    < detail >

    <! [CDATA [this is a custom function.] If you use it, you must include the

    Following namespace declaration in your BPEL file.

    < br / > < br / >

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    < br / > < br / >

    USE: f17:replaceString(String,String,String,String) < br / >

    Chain change, regular expression, mode [optional] replace the string - 1 = all, 2 = first by default all the < br / >

    See documentation for more details.]] >

    < / details >

    < / feature >

    < / soa-xpath-functions >

    None of the answers was * exactly * correct, but they gave me enough information to solve the problem.

    To implement what I have to code the functions a bit differently.

    • BPEL functions are all the IXpathFunction extension classes.
    • Mapper functions are not.
    • BPEL functions are each separate classes.
    • A single class with a method for each desired function mapper functions.
    • BPEL classes outcrop in the config file ext-bpel-xpath-functions-config. XML
    • The Mapper class is exposed in the config file ext-Mapper-xpath-functions - config.xml

    A BPEL class looks like:

    public class editCaseNumber implements IXPathFunction {
        public Object call(IXPathContext context, List args) throws XPathFunctionException {
           return docOut;
        }
    }
    

    A class to map looks like:

    public class mapperFunctions {
        public static String replaceString(String sIn,String sMat,String sRep,String mode){
            return finalString;
        }
        public static XMLDocumentFragment compressFile(String indoc){
            return docOut;
        }
    }
    

    (I deleted the code of these to avoid confusion.)


    My ext-Mapper-xpath-functions file - config.xml looks like:

    soa-xpath-functions
            xmlns="http://xmlns.oracle.com/soa/config/xpath"
            xmlns:map="http://www.oracle.com/XSL/Transform/java/com.f17.customfunction.mapperFunctions"
            version="11.1.1"
            resourceBundle="oracle.tip.tools.ide.common.resource.IDEMessageBundle"
            >
      
      com.f17.customfunction.mapperFunctions.compressFile
      
      
      
      
      Compresses large strings for DB storage
      
                    
    USE: map:compresFile(string)

    Returns XML document fragment containing HEX binary string:
    <compressedFile$gt;[outPut]</compressedFile> See documentation for details.]]>
    com.f17.customfunction.mapperFunctions.replaceString Exposes replaceFirst and replaceAll java functions
    USE: map:replaceString(String,String,String,String)
    String to edit,
    regular expression,
    replacement string mode
    1 = all
    2 = first occurance
    See documentation for details.]]>


  • Xor may be crack the NoPadding/CFB-AES encryption-

    Hello
    Looks like a password can be discovered based on the numerical value of an old known password (using the same key).

    For example
    In case I have an obvious password: AAA
    and I have the password enrypted form of bytes: crypt (AAA).

    I can decrypt any password based on the result of the Xor of the clear and encrypted password: (AAA xor crypt (AAA))
    BBB = crypt (BBB) xor (xor crypt (AAA) AAA)
    It looks like a security problem.
    Is this a bug of java or mine?
    BTW, if you use AES/CFB8/NoPadding, this is not the case.

    Here is the Code example:
    import javax.crypto.Cipher;
    import javax.crypto.KeyGenerator;
    import javax.crypto.SecretKey;
    import javax.crypto.spec.IvParameterSpec;
    
    public class MyTest
    {
         static SecretKey m_secretKey = null;
    
         public static void main(String[] args)
         {
              try
              {
                   MyTest test = new MyTest();
                   test.init();
                   test.encrypttionBreak();
              }
              catch (Exception e)
              {
                   e.printStackTrace();
              }
    
         }
    
         private void init() throws Exception
         {
              if (m_secretKey == null)
                   m_secretKey = KeyGenerator.getInstance("AES").generateKey();
         }
    
    
    
         private byte[] aesEncrypt(byte[] data, int mode) throws Exception
         {
              byte[] m_iv = new byte[16];
    
              for (int i = 0; i < m_iv.length; i++)
              {
                   m_iv[i] = (byte) i;
              }
    
              IvParameterSpec iv = new IvParameterSpec(m_iv);
              Cipher cipher = Cipher.getInstance("AES/CFB/NoPadding", "SunJCE");
              cipher.init(mode, m_secretKey, iv);
    
              byte[] cipherInput = cipher.doFinal(data);
    
              return cipherInput;
         }
    
         public void encrypttionBreak() throws Exception
         {
              String clearText = "aaaaaaaaaaaa";
              byte[] cipherBytes = aesEncrypt(clearText.getBytes(),
                   Cipher.ENCRYPT_MODE);
    
              byte clearBytes[] = clearText.getBytes();
              byte xorKey[] = new byte[clearBytes.length];
              for (int i = 0; i < xorKey.length; i++)
              {
                   xorKey[i] = (byte) (clearBytes[i] ^ cipherBytes);
              }

              String password = "mypass";

              byte[] passwordEncrypted = aesEncrypt(password.getBytes(),
                   Cipher.ENCRYPT_MODE);

              byte breakFinal[] = new byte[passwordEncrypted.length];
              for (int i = 0; i < breakFinal.length; i++)
              {
                   breakFinal[i] = (byte) (passwordEncrypted[i] ^ xorKey[i]);
              }

              System.out.println("break final " + new String(breakFinal));

         }

    }


    Edited by: sabre150 on 19-Aug-2011 02:37

    Moderator: added [ code] tags to make the code readable.

    This is your bug, because you randomly pick a mode and a method without really understanding them. Just look at the definition of [https://secure.wikimedia.org/wikipedia/en/wiki/Block_cipher_modes_of_operation#Cipher_feedback_.28CFB.29]

    Now, look at what your function "crypt". You use a fixed iv for everything, we just label the IV. So crypt ('AAA') = AES (key, iv) xor "AAA". That's why crypt ('AAA') xor 'AAA' = AES (key, iv). You should be able to understand what crypt('BBB") xor xor crypt ('AAA')"AAA ".

  • pulling my hair out for a signature valid pdf

    Using Acrobat 9 Pro with a new server certificate to a different certification authority that I tried to put a signature invalid in a pdf file. For some reason any acrobat gives me the "Signature is invalid" message with a red cross. When I open the Details dialog box of the certificate I see a "!" down with the message "the path of the certificate selected contains errors: invalid policy constraint. I'm not really sure what it means? the constraints are not valid? Then I read acrobat can do a log during the validation process, so I was wondering if it would help, I had something like that (I've edited a few pieces to protect my client):

    20110913195706Z:

    20110913195706Z: validation chart cert with 1 channels

    20110913195706Z: validation of string: CertChain_ [edit] length = 5

    20110913195706Z: - ChainBuilder -

    20110913195706Z: certificate of treatment: DN: cn = [edit] CA - G2, o = [change], c = NL Series: [change]

    20110913195706Z: audit time = 20110913131236 + 0200

    20110913195706Z: certificate of treatment: DN: cn = [change] - G2, o = [change], c = NL Series: [change]

    20110913195706Z: audit time = 20110913131236 + 0200

    20110913195706Z: certificate of treatment: DN: cn = [change] - G2, o = [change], c = NL Series: [change]

    20110913195706Z: audit time = 20110913131236 + 0200

    20110913195706Z: certificate of treatment: DN: cn = [change] - G2, o = [change], c = NL Series: [change]

    20110913195706Z: audit time = 20110913131236 + 0200

    20110913195706Z: certificate of treatment: DN: cn = [change], OU = [change], o = [change], l = [change], st = [change], c = NL Series: [change]

    20110913195706Z: audit time = 20110913131236 + 0200

    20110913195706Z: added string flags badly 0x200 generator

    20110913195706Z: end of string Validation.  TroubleFlags: 200

    20110913195706Z:

    I am particularly interested if someone knows what that this line "added string flags badly 0x200 generator" means?

    Any help is greatly appreciated!

    Hi lullolullo,

    You came to the right place. Signature validation begins with trust. If you do not trust the signer, or one of the certificates in the chain of signature, then nothing happens. A signature string looks like this:

    Big Time CA root Cert

    Intermediate CA

    End entity (the signatory, or in this case, you)

    You must assign trust at least one of the certificates in the signature string. You can either add trust via the dialog manage identities approved or by a preference where you can inherit trust from the Windows certificate store (Windows only, not Mac). To see the string in the signature you want to do the following:

    • Right mouseclick on the signature
    • Select Show Signature properties in the pop-up menu
    • Click view certificate in the Signature Properties dialog box
    • The string is displayed in the tree view on the left side of the dialog box

    If you select the trust tab, and then different certificates in the output string, you will be able to see what is the anchor of trust.

    Enough confidence, to Restrictions of strategy. When a certification authority (CA) issues certificates, they will often add the certificate policy extension. You can find this by selecting the Details tab, and then scroll the list box for the certificate policies. Politics is a long number in dotted line that acts as a marker for a specific set of rules. The rules themselves tend to be published online in a "Certificate Practice Statement" document, but becomes a bit beyond the scope of your problem. The rule can mean something as all certificates under this political constraint problems are communicated to the employees of the company XYZ and must be a hardware token. This is an example of something you might see but I do not say it the exact scenario that appeal to you.

    The root CA generally do not have an extension of certificate policy, but all the certificates under it make sense that this string obeys a set of specific rules.

    On the application of the rules. Let's say you have this Big Time, which issues certificates for IBM, Microsoft, Apple and Adobe. Each of these strings contain a different certification policy. Now, let's say that I trust it Big Time, which means that each signature that created this channel until Big Time would be reliable and valid. Now let's say I want to only trust the signatures coming from my fellow Adobe employees. What I would do, is add a policy of Restriction to the trust setting, which makes the more granular trust.

    Towards the top, where is Restriction policy. The strategies on the display of the certificate tab. When you view the certificate itself that is designated as the anchor of trust do you see something in the area of Group Policy Restrictions? I mean something data in the certificate policies field edition which seems to be gray. If Yes, then the signatory certificate and other certificates in the chain must have the numbered in certificate policy Extension.

    If the restriction is there, you can remove it by going in the dialog Manage approved identities , you can get from the menu Advanced . From there, you will need to select certificates from the drop-down list display. Find the certificate that corresponds to the anchor of the trust, selected in the drop-down list, and then click Edit Trust . Finally, select the policy Restrictions on the dialog box change the Certificate Trust. However, I'm not, and advise you to break any policy of the company if they want the restriction in place.

    Steve

  • Error StringIndexOutOfBounds

    Hey...

    I have the following code:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.ArrayList;
    
    
    public class port3 extends JFrame implements ActionListener, KeyListener
    {
         /**
          * 
          */
         private static final long serialVersionUID = 1L;
         //========================= VARIABLES =========================     //
         //Opretter knapper og lign. 
         private JTextField input = new JTextField("Ledetext",6);
         private JTextArea display = new JTextArea(11,20);
         private JButton tilføj = new JButton("Tilføj");
         private JButton sorter = new JButton("Sortér");
         private JRadioButton courierButton = new JRadioButton("Courier",true);
         private JRadioButton arialButton = new JRadioButton("Arial",false);
         private JRadioButton serifButton = new JRadioButton("Serif",false);
         private List list = new List(10,true);
         private String inputText;
         private ButtonGroup fonts = new ButtonGroup();
         private Font cour = new Font("Courier", Font.PLAIN, 11);
         private Font aria = new Font("Arial", Font.PLAIN, 11);
         private Font seri = new Font("Serif", Font.PLAIN, 11);
         private ArrayList <String> arrayList = new ArrayList<String>();
         int iteration = 0;
    
         public port3()
         {
              //Sætter vinduets titel
              setTitle("Portefølje 3");
              //Sætter Layout til FlowLayout
              getContentPane().setLayout(new FlowLayout());
              //Tilføjer Tekstfeltet input
              getContentPane().add(input);
              //Sætter Baggrunds farve
              input.setBackground(Color.black);
              //Sætter Tekst farve
              input.setForeground(Color.white);
              //Tilføjer elementer
              getContentPane().add(tilføj);
              getContentPane().add(sorter);
              getContentPane().add(courierButton);
              getContentPane().add(arialButton);
              getContentPane().add(serifButton);
              getContentPane().add(display);
              getContentPane().add(list);
    
              //Tilføjer de 3 radiobuttons til ButtonGroupen fonts
              fonts.add(courierButton);
              fonts.add(arialButton);
              fonts.add(serifButton);
    
              //========================= UDSKRIFT =========================     //      
              //Opsætter udskriftsområdet
              display.setLineWrap(true);
              display.setEditable(false);
              //Sætter Baggrunds farve
              display.setBackground(Color.black);
              //Sætter Tekst farve
              display.setForeground(Color.white);   
    
              //========================= LIST =========================     //
              //Sætter skrifttype til Courier
              list.setFont(cour);
              //Sætter Baggrunds Farve
              list.setBackground(Color.black);
              //Sætter Tekst Farve
              list.setForeground(Color.white);
    
              //========================= ACTION LISTENERS =========================//
              
              tilføj.addActionListener(this);
              sorter.addActionListener(this);
              courierButton.addActionListener(this);
              arialButton.addActionListener(this);
              serifButton.addActionListener(this);
              input.addKeyListener(this);
         }
    
         //========================= EVENT HANDLING =========================     //
         //Event handler for button Tilføj
         public void actionPerformed(ActionEvent event)
         {
              if (event.getSource() == tilføj)
              {
                   inputText = input.getText();
                   input.setText("");
                   arrayList.add(inputText);
                   list.add(arrayList.get(iteration));
                   display.append(""+inputText+"\n");
                   iteration++;
              }
              else if (event.getSource() == sorter)
              {
                   for(int i=0; i < arrayList.size(); i++)
                   {
                        for(int j=1; j < 10; j++)
                        {
                             if(arrayList.get(i).length() < j+1 && arrayList.get(i+1).length() < j+1 && arrayList.get(i).charAt(j) > arrayList.get(i+1).charAt(j)) //<======This line here
                             {
                                  arrayList.set(i, arrayList.get(i+1));
                             }
                             arrayList.set(i, arrayList.get(i));
                        }
                   }
                   for(int i=0; i < arrayList.size(); i++)
                   {
                        list.add(arrayList.get(i), i);
                   }
              }
              else if (event.getSource() == courierButton)
              {
                   display.setFont(cour);
                   list.setFont(cour);
              }
              else if(event.getSource() == arialButton)
              {
                   display.setFont(aria);
                   list.setFont(aria);
              }
              else if(event.getSource() == serifButton)
              {
                   display.setFont(seri);
                   list.setFont(seri);
              }
         }
    
         //Tilføjer den sidste trykte knap til vinduets titel
         public void keyTyped(KeyEvent event3){}
         public void keyPressed(KeyEvent event3){}
         public void keyReleased(KeyEvent event3)
         {
              setTitle("Portefølje 3 - "+event3.getKeyChar());
         }    
    
         //========================= MAIN =========================     //
         public static void main(String args[])
         {
              port3 f = new port3();
              f.setSize(500,300);
              f.setVisible(true);
              f.addWindowListener(new WindowAdapter(){
                   public void windowClosing(WindowEvent e){
                        System.exit(0);
                   }
              });
         }
    }
    "Sorter" button, I get StringIndexOutOfBounds, although I check if the string is longer than the iteration. (Line 105).
    I know what means the error, but I do not see why I get it because I specifically check the length of the string.

    Edited by: Moopz November 4, 2010 04:35

    You must have obtained

    Length: 8 get index: 0
    Length: 8 get index: 1
    Length: 8 get index: 2

    ...

    Length: 8 get index: 8
    ERRORSTUFF

    If the check was not as I expected

    but he did not in the stated case,

    if (string1.length() < j+1)
    

    ask 'if the length is less than j + 1'

    If the length is 8, then it will be ignored until j 8

    if (j+1 < string1.length() )
    

    This will continue until d + 1 = 7

    can not belive we see that lol

  • editing the text in the string does not change the distorted text!

    I have the text in a basic text box. I applied a string in base to give a higher arc. Okay, now I want to change the size of the text.

    I select the text and reduce the size of text in the character palette - nothing happens.

    I double click on text box that isolates the text, double click again to select the text, drag to select all the text, then reduce the size of the text in the character palette. the Red preview reduced but when I click, the distorted text is always the same size as before!

    I'm sure that just by clicking on the text and by reducing the size of the text (in the character palette) worked before...

    Try the object > envelope distort > edit content.

    The size can be changed by editing the envelope (the text is always dimensionnera to the size of the envelope.

  • editing text in a string indicator

    I use a slide switch to set either AM or PM on my front.  How can I use an indicator of string and the text in the change of the indicator from am to PM that the position was on my slide switch?

    Hi Mitch,

    Why not use the Boolean text of the switch instead of a string indicator separated?

    Why not use a simple Select function to select between AM and PM and wire the result to the string?

    Why not use a case structure according to your switch?

    Why not use AppendTrueFalseString?

  • Where can I find better, more correct instructions to solve printing problems by editing prefs.js?

    Instructions of "resolve printing problems | Firefox Help, line 6. Delete all the lines in prefs.js that begin with print_ and save the file. "do not match what is actually in my prefs.js file.

    In other words, he didn't y not the lines * beginning * with "print" or "print_". However, the string of five characters 'print' is * very * many times buried deep in a line of characters, but never at the beginning of a line and rarely followed by underscore. So I have no idea what I'm actually planned to do to solve my problem.

    It seems to me that this is just a badly phrased statement that might be more appropriate for someone who is familiar with the codification and development of software, which I'm not. I don't have the time, experience or knowledge to understand. I need more literal/explicit/specific instructions.

    The printing problem I have is that I have to print via WiFi to a printer in another room wired to another computer, and Firefox seems to switch or possibly reverse scales fonts for information of margin and the text of the Web page. In other words, the title of the document, date, time, prints etc very wide and the content of the page text prints almost too small to read.

    If there is a lot of user set prefs involved that need to be reset, then it's much easier to delete related lines of the prefs.js is each of them with the button straight on the topic: config page and click Reset.
    This is the main reason (single) to edit the prefs.js file.

  • Preview app crash when recording or editing images

    When I'm editing images (jpg format) in the preview, the application crashes when saving the image. For my work, I need to add labels and arrows to photos that I take in the field. The application crashes when registering, and I lose a huge amount of time trying to figure out what's wrong. I already deleted the preference files and the problem persists. I get this from the console application:

    Thank you

    06/05/16 4:15:11.408 PM Preview [3059]: ImageIO: CreateMetadataFromXMPBufferInternal threw error #203 (property node or a duplicate field)

    06/05/16 4:15:11.411 PM Preview [3059]: ImageIO: CreateMetadataFromXMPBufferInternal threw error #203 (property node or a duplicate field)

    06/05/16 com.apple.xpc.launchd [1 4:15:11.853 PM]: (com.apple.Preview.39072 [3059]) Service was released due to the signal: Segfault: 11

    06/05/16 com.apple.xpc.launchd [1 4:15:11.886 PM]: (com.apple.ReportCrash [3065]) endpoint has been activated through legacy launch (3) API. Please go to XPC or bootstrap_check_in(): com.apple.ReportCrash

    06/05/16 com.apple.SecurityServer [79 4:15:12.191 PM]: kill auth hosts

    06/05/16 com.apple.SecurityServer [79 4:15:12.191 PM]: Session 100049 destroyed

    In the Console window, select

    DIAGNOSIS AND diagnostic USE information reports ▹ user

    (not diagnose them and use Messages) in the list of logs on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points downwards. You will see a list of reports of incidents. The name of each report begins with the name of the process and ends with ".crash". Select the most recent report on the process in question. The content of the report is displayed at right. Allows you to copy and paste to validate all of the content, text, not a screenshot.

    I know that the report is long, perhaps several hundred lines. Please report all this anyway.

    If you don't see any report, but you know, he had an accident, you have chosen diagnostic and using the list of Log Messages. INFORMATION on the USE of DIAGNOSTIC AND choose instead.

    In the interest of privacy, I suggest that, before posting, you change the UUID ' anonymous, ' a long string of letters, numbers and dashes in the header of the report, if it is present (it cannot be). "

    Please do not post other types of diagnostic report - they are very long and rarely useful.

    When you post the accident report, you might see an error message on the web page: "you include content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the forum software. Thanks for posting the text on Pastebin, then post here a link to the page you created.

    If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.

  • How to add a value to a column of a string of pop up

    I am really inexperienced with spreadsheets, but asked me to help create a timesheet for a rotational system.

    I know that the time could be manually entered and calculated in duration but as there are only four options, let's say A, B, C travel and OFF, it would save a lot of time if there is a pop-up menu along side each name and under every day so that when a change is selected, the corresponding hours would be added in the total column.

    I actually created the spreadsheet with context menus as follows:

    08:00 - 15:00

    15:00 - 22:00

    Off

    08:00 - 18:00

    The reason why the 08:00 - 18:00 is in the end, it is a special change that only supervisors do.

    In any case, is there a way that these string values can be converted to hours to a total of column? I tried, very awkwardly, and I can't really follow the logic of the formulas of the numbers so I would be very grateful if someone could help me.

    I've included a selective screenshot in case my description is not very clear; Thank you.

    Hello Alf,

    The key to this is to use a lookup table for the transit time of list (as in your Menus pop up) and the number of normal hours for this position.

    Note this column of the table must match exactly to your Menus pop up (I added spaces on both sides of the hyphen).

    Then another table (hours) to account for the infeed Table and convert shifts in hours.

    Formula in B2 of table of the hours (and fill right and fill down)

    = INDEX (Lookup::$B,MATCH(Input::B2,Lookup::$A,0))

    My cheat for the combination of the INDEX sheet and MATCH:

    = INDEX (column, I want a value returned by,)

    MATCH (the value of my choice,

    Column, I want to search against.

    Enter ""0")).

    Finally, the formula in the column "hours worked" (right part of the input table)

    I2 = SUM (Hours::2:2)

    And fill down.

    Kind regards

    Ian.

    Edit: You can move (copy / paste) the table and the table to another worksheet hours to 'hide '. Ian.

  • Toshiba 32W1333DN: name of moving/deleting/edit buttons for the missing channels

    Hello

    I just bought 32W1333DN in Sweden.
    But I can't change the position of the channels in the channel list.

    Both the Quick start guide that comes in the box with the TV and the online manual has pictures and details on how to move/remove the channels and change the names of channel in the channel list.

    I'm supposed to go in
    Menu->-> Edit Channel List channel list.

    Once there, I select channels and perform tasks by selecting the buttons.

    But these buttons aren't where I watch my TV.
    Instead of the buttons for * OK * / * Move * / * remove * / * change name * / * lock * I've * OK * / * lock *.

    What is going on?

    In settings, version of the program is * V.2.1.4A * and upgrade software * V.2.1.9x *.

    Hello

    Please take a look in the user manual
    [Manual Toshiba 32W1333 | http://www.toshiba-om.net/LCD/PDF/English/W1333-32-English.pdf]

    Page 17 provides information on the list of chains, sorting programs and program locking.

    For example, to move the only channel in the list, you must do the following:
    Channel order can be changed according to your personal preferences.

    SELECT the main key channels list menu, then press OK.
    Select modify the channel list to manage all channels. Use upward or downwards and the OK button to select Edit list of strings.
    The Move option in the channel button list and press OK.
    Change number of screen will be displayed. Enter the desired channel number using the number keys on the remote control. If there is a channel previously stored on that number, a warning screen will be displayed. Select Yes if you want to move the channel and press OK.
    Selected channel is now moved.

  • Want dv7 Quad Edition GeForce 650 m

    So, to begin with, at the time of the purchase, I've added the 650 M GeForce graphics card to my dv7 Quad Edition ENVY. I had no problem for some time. Recently, I had a problem with the display. He was sent repair and replaced the motherboard. I got my cell phone and my problem has been fixed. However, now in the HP Support Assistant and Speccy I am presented with the specifications of my laptop listing a 630 M GeForce graphics card. I contacted support and they said it was a problem with the drivers. Before that my laptop was sent in that I had no problem, he said that I was running with a 650 M. I don't know if everyone saw topics such as this one, but I looked up and down the Internet and did not see anything showing a problem like this. I am deeply concerned that a mistake was made and that I returned a laptop with a lower graphics card.

    Product name: HP ENVY dv7 Notebook PC

    Product number: B6B77AV

    Hello:

    I'll provide a coroner more approach positive evidence that the gpu in your PC is the 630M, rather than Googling.

    Hardware installation information file ID pilot on support of your laptop and driver page is good for...

    [Strings]
    DiskID1 = "NVIDIA Windows Vista / 7 / 8 (64-bit) Driver Library Installation disk 1.
    NVIDIA = "NVIDIA".
    NVIDIA_A = "NVIDIA".
    NVIDIA_DEV.0DE3.181B.103C = "NVIDIA GeForce GT M 635.
    NVIDIA_DEV.0DE3.181D.103C = "NVIDIA GeForce GT M 635.
    NVIDIA_DEV.0DE3.189B.103C = "NVIDIA GeForce GT M 635.
    NVIDIA_DEV.0DE9.181A.103C = "NVIDIA GeForce GT 630M.
    NVIDIA_DEV.0DE9.181B.103C = "NVIDIA GeForce GT 630M.
    NVIDIA_DEV.0DE9.181D.103C = "NVIDIA GeForce GT 630M.
    NVIDIA_DEV.0DE9.1837.103C = "NVIDIA GeForce GT 630M.
    NVIDIA_DEV.0FD1.181A.103C = "NVIDIA GeForce GT 650M.
    NVIDIA_DEV.0FD1.181B.103C = "NVIDIA GeForce GT 650M.
    NVIDIA_DEV.0FD1.181D.103C = "NVIDIA GeForce GT 650M.
    NVIDIA_DEV.0FD1.189A.103C = "NVIDIA GeForce GT 650M.
    NVIDIA_DEV.1140.18F9.103C = "NVIDIA GeForce GT 630M.
    NVIDIA_DEV.1140.18FB.103C = "NVIDIA GeForce GT 630M.
    NVIDIA_DEV.1140.18FD.103C = "NVIDIA GeForce GT 630M.
    NVIDIA_DEV.1140.18FF.103C = "NVIDIA GeForce GT 630M.

    There is no doubt that they put the wrong motherboard in your PC.

    The replaced: than what you had:

    For use only on the computer with a processor Intel image models, the

    NVIDIAR GeForceR 630 M graphics with 1 GB of memory separate subsystem and the

    Operating system Windows 8 Professional

    REF. HP # 681999-601

    They should be replaced by:

    For use only on the computer with a processor Intel image models, the

    Subsystem of NVIDIAR GeForceR 650 M with 2 GB graphics memory separate and the

    Operating system Windows 8 Professional

    REF. HP # 682040-601

    This is what is stated in Chapter 3 of the maintenance manual.

    http://h10032.www1.HP.com/CTG/manual/c03591253.PDF

    So, you have any Nvidia card less discreet 1Go of memory at startup.

    Unfortunately, there is nothing I can do directly to help remedy the situation.

    I do not work for HP.

    What I will do is to ask a moderator to the forum worsen your situation to the Department there's place to see if there is anything that can be done, so you can have the original motherboard you paid to installed, or some other remedy pleasant for you.

Maybe you are looking for

  • My iPad wifi air2 only not no longer works on safari or mail all links are broken

    Since the last update my iPad Air2 does not work correctly, all the links on safari and Mail do not work and as soon as you try to use the screen freezes, I can use it for any other including my solitaire game, but it is useless unless I have the abi

  • HP g6-1b68nr KNOW SYNAPTIC TOUCHPAD...

    SYNAPTIC TOUCHPAD TIPS g6-1b68nr - function still portable great!  EXCEPT - It's 3 years since I purchsed 2 exactly the same Pavilion g6-1b68nr notebooks. One that I have used myself and it has TOUCHPAD intact SYNAPTIC functions; works very well. The

  • Some, but not all, CC 2015 applications fail to launch the Windows 10

    System:Intel Core i7 - 6700KASUS Z - 170 Deluxe32 GB OF RAM1.2 TB SSDNVIDIA GeForce GTX 980OS was originally Windows Update November 10, now Windows 10 anniversary (Version 1607, OS Build 14393.187)I have creative cloud installed my desktop PC (the a

  • No hardware acceleration of OpenCL with AMD over-pants W5100

    HelloI useFirst Pro CC 10.3AE 13.8.0.144 on oneDell Precision T1700 system:-10 64 Windows-AMD over-pants W5100 (FireGL V)-Intel Core i7 - 4790-Ram 16GigAfter that the update of Adobe CC last first began to warn me that im about to open projects to ta

  • App gets to 100%, but does not install

    Try to download Adobe Fuse, arrives at 100 percent, but does not install. I tried like 4 times now and continues to be the same thing. I closed off CC and restarted my computer with no result. No matter which help out me?