Test whether the string contains the only slash the other way around?

Hello

How do you do that?

I need to check if

(a) the string contains two consecutive backslashes

(b), if not, check if there is at least an oblique bar opposite

If (test.) IndexOf("\\") > = 0) seems to knock on a string that is 'ss\\ss', but I have a feeling that is incorrect. I think it's really just test for 1 backslash.

AS3 and don't let you do if (test.indexOf("\") > = 0), as the single backslash escapes the rest of your code.

It is to test for the existence of a or two backslashes in the ID3 tags, as some editors use as a delimiter for multiple tags within the category of a tag for example kind: rock\\pop, or rock\pop

Thanks for taking a peek.

{if(s.IndexOf("\\\")>-1})

There are two or more backslashes consecutive

} else {if(s.indexOf("\\")>-1)

There is that a single backslash

}

Tags: Adobe Animate

Similar Questions

  • Windows 7 for slow LAN XP file transfer; but not the other way around

    I have two PCs connected via a Cat5 cable to a router Linkysys. A PC running Windows 7, the other XP SP3.  When transfer files from XP to W7 pc. I get 80 MB/s transfer speed.  However when W7 transfer to pc XP, transfer rate is about 1.5 MB/s.

    I did the following
    * netsh int tcp set global autotuninglevel is disable.
    * Disable remote differential Compression.
    * Disabled remote assistance.
    * Disabled ipv6.

    And have run the W7 pc in safe mode.  No change.

    Further reflection?

    Hello IAjason,

    Thanks for posting in the Microsoft Answers forum! Here is a link to a similar post that can provide a solution to your problem.

    http://social.technet.Microsoft.com/forums/en/w7itpronetworking/thread/c30f6649-a0d9-4f5e-8671-904a8f5469bb

    Please let me know if this helps J

    Adam
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • How to write data at the end of the doc in sense the other way around? [CS6 - jsx]

    I need to move all the entries in my texts spec at He end of the doc. To keep the correct reference overall found entries that I have to deal with in reverse order

    for (i = mFound.length - 1; i > = 0; i--) {}

    .. .etc

    but to invent, how to place entries cannot write off at the end.

    String:

    mStory.insertionPoints.item(-1).select ();

    App.Paste ();

    does not work properly (of course). It does this:

    10.

    9.

    8.

    7.

    6.

    .. .etc

    How to get

    1.

    2.

    3.

    4.

    .. .etc

    ?

    Dmitry,

    Well, I've been basically dealing with moving the notes at the end of the story in the correct order. Anyway, concerning the figures by exposing, there no need to choose things and remove these selections. She considered more safe, like Vamitul too mentioned, to work on the objects. To manage numbers superscript, I would do this:

    app.findGrepPreferences = null;
    // Search just the note contents: lookaround leaves the braces in the text
    app.findGrepPreferences.findWhat = /(?<=\{\{\{).+?(?=\}\}\})/.source;
    found = app.documents[0].findGrep();
    
    for (i = 0; i < found.length; i++){
        found[i].parentStory.insertionPoints[-1].contents = '\r' + String (i+1) + '.\u2003';
        found[i].move (LocationOptions.after, found[i].parentStory.insertionPoints[-1]);
    }
    
    // Now search {{{}}}
    app.findGrepPreferences.findWhat = /\{\{\{\}\}\}/.source;
    found = app.documents[0].findGrep();
    for (i = found.length-1; i >= 0; i--){
        found[i].contents = String (i+1);
        found[i].position = Position.SUPERSCRIPT;
    }
    

    Then first move the notes at the end of the story, leaving behind all the triples of braces. Then, after you have moved the notes, do you a new search on the sextets of braces. Only select and delete, just redefine the content of what you have found and apply an in shape.

    Peter

  • Why can I not access a computer2 from computer1, but not the other way around?

    I have a home network using the ethernet cable connected to an ATT Wireless and wired modem/router wired. Vista premium Computer1 and computer2 has Vista Home premium. Both printed and discovery / network file sharing on. The two appear on the network and sharing Center. I tried to turn off the two firewalls, configure permissions and shared file. Always the same. Computer1 can access computer files/programs. But computer2 is impossible. I get an error code: 0 x 800. I looked at the error online code, but the answers don't give me what I've done; share the installation program, permissions, firewall, reset the modem/router. In addition, the computer that has the problem?

    Hello

    1. What is the exact error message you received?

    2 have you made changes to your computer?

    I suggest you to follow the links and check out them.

    Method 01:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: After a repair, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    Method 02:

    Share files and folders on the network

    http://Windows.Microsoft.com/en-us/Windows-Vista/share-files-and-folders-over-the-network-from-Windows-Vista-inside-out

    Method 03:

    Setting up a wireless network

    http://Windows.Microsoft.com/en-us/Windows-Vista/setting-up-a-wireless-network

  • HP Officejet 6500 a Plus. How to get a fax received to print in black and white and not the other way around

    I'm using an iMac with OS X 10.6.8.  A fax sent to me is loaded into a folder open on my desktop.  The fax image is white on black al, though the original was black on white paper.  It prints white on black background.  How to reverse the image to black on white?

    Ok. Well I don't believe that you are able to reverse the colors directly on the printer. Once the image has been saved using this color format, you will need to reverse the image on the computer first, then the corrected file printer.

    You can invert the colors using the preview. Once you open the image in preview if you select "Tools" then "Color Adjust". Here you will be presented with slidered for black and white levels. To "reverse" all colors, you need to do is the slider level black all the way to the right, then drag the white slider completely to the left.

    Let me know if it works for you!

    -Sean

  • Windows 8 can see windows 7 but not the other way around

    I have a desktop with windows 8 pro 64-bit computer and a laptop running Windows 7 Home Premium 64-bit.  They are both connected to the same workgroup.  Two computers can see and access my NAS who is also on the same network.

    My PC W8, I see the portable W7.  However, the W7 laptop does not see the PC W8.
    Both computers have their firewall disabled temporarily.
    The W8 PC has a homegroup Setup, but the W7 laptop does not see the residential groups on the network.
    I ran the two homegroup and the troubleshooting of network on the W7 laptop and it didn't detect any problems.

    Help?

    Hello

    http://Windows.Microsoft.com/en-in/Windows/HomeGroup-help#HomeGroup-start-to-finish=Windows-7&V1H=win8tab1&V2H=win7tab1

    http://Windows.Microsoft.com/en-in/Windows7/why-cant-i-access-my-HomeGroup

  • I changed somehow all my files with the same name, how the other way around how they had before

    I tried moving a file in My Documents to a new subfolder, but somehow ended up changing all my documents and files to the same name.  How can I reverse this back to how it was at the beginning?

    ALT + type EU or Ctrl + Z is the last Undo action.

  • How can I make a video reflection (face the other way around)?

    Hi, I would like to have some actors in a video face the opposite direction.  Is there a work around, or the effect, I could use to create a reflection of the image so that what is on the left is on the right?

    Thank you!

    Robert

    First Pro CS6

    After Effects CS6

    Go in the effect controls panel. Search for the word flip. Take the horizontal flip effect and drag it into the clip.

  • the other way around bug IncorporerPolices

    Unlike most publication problems, IncorporerPolices = true works for me.
    BUT, I would like to disable this feature to use legacy fonts and when I do:
    IncorporerPolices = false;
    It is no longer available (dynamic) text. Now the text field is EMPTY!
    Help, please!
    *******************************
    FORMAT TEXT FOR SHOPS
    var myFt = new TextFormat();
    myFt.font = "AGaramond";
    myFt.size = 11;
    myFt.color = 0 x 000000;

    var xR = startX;
    var yR = startY;
    for (var i = 1; i < = nbPays; i ++) {}
    trace ("Payroll:" + country.attributes.name);
    trace ("Payroll:" + country.attributes.id);

    var thisPays = a_list.th_list.button.duplicateMovieClip("pays"+i,i,{_x:xR,_y:yR});)
    thisPays.id = country.attributes.id;
    thisPays.rub = "country";
    thisPays.pays = country.attributes.name;
    thisPays.createTextField("pysTxt",1,0,0,140,17);
    thisPays.pysTxt.embedFonts = false;
    thisPays.pysTxt.type = "dynamic";
    thisPays.pysTxt.text ='-'+ country.attributes.name;
    thisPays.pysTxt.setTextFormat (myFt);

    Country = Country.nextSibling;
    yR += intVal;
    }

    I solved the problem. In fact, I was wearing a MASK in the clip. This is why the text in device fonts did not show, any show of embedded text.

    So I change the physical mask to the mask script action.
    movieClip.setMask (maskClip);

    Now it's working.
    Thank you, everyone!

  • In the United States, I can use selector locale quick to get U.S. locale of Russia but in Russia, it does not work to go the other way or any other premises than elsewhere. After selecting a new language and restarting firefox, it remains on the Russian

    In the United States, I can use selector locale quick to get us to the locale of Russia (ru - RU), but in Russia, it does not work to go the other way or any other premises than elsewhere. After you have selected the local new and restart firefox, it remains on the Russian locale. Y at - it a fix for this problem?

    This has happened

    Each time Firefox opened

    == Looks like it started with a newer version of firefox, but this may have been coicidental

    You have other language packs languages installed?
    Tools > Modules > languages

    There is no module language en-US, to achieve that you must install the version of Firefox en-US and install other languages in the version.
    http://releases.Mozilla.org/pub/mozilla.org/Firefox/releases/3.6.6/Win32/XPI/

    See also http://kb.mozillazine.org/Language_packs

  • the component I am trying to use is on a network resourse which is not available, try the other way?

    When I try to install silverlight I get this error message, the function, I am trying to use is on a network resourse which is not available, try the other way? What now?

    Hello

    It comes to the installation of vista operating system instance

    Try the repost in the silverlight link below forums

    http://forums.Silverlight.NET/forums/

  • Test whether the text box is empty - tip action

    Hello

    I have a form that the user is required to fill out. When the user tries to advance to the next slide, I would test to check that none of the text boxes are empty.

    Ideally something like;

    If ((Textbox1) == null) {}

    See the legend of failure

    } else {}

    continue

    }

    I know you can use advanced actions but I'm unable to set the null value. I even tried to create a new variable and leave empty and tests textbox against that, but apparently not worked either.

    I'm probably missing something simple as I am very new to Captivate.

    Is it possible to submit the code of the advances in stocks using AS?

    Any help would be greatly appreciated!

    Concerning

    Tim

    Hello!

    I had the same problem.

    The user must enter his name.

    I preset the variable of the text using the feature box "what would happen if you reach this slide." You can find it if you double-click the slide with your text box, and then find the area of "navigation". I have a German version of the A4 the names of functions differ...

    Declare the variable of your text box we'll say "ABC123".

    With a collateral action, you can check if the text inside the variable passed as ABC123 to something else:

    If

    variable_name is not equal to ABC123

    then

    ...

    on the other

    ...

    If the variable is always ABC123 I jump to another slide with an error message.

    An example, which you can find here:

    http://forums.adobe.com/thread/446449?

    Kind regards

    Markus

  • Check that a string contains data only numbers

    Hello

    I'm trying to find an elegant way to test an input string "serial number" format A00000000 (where A can be any letter and 0 can be a number any).  My first thought was to check the following features:

    (1) total string length = 9.

    (2) using the "Decimal String to the Number.vi", result = 0 (which indicates that the string contains no numbers).

    (3) using the 'Decimal string to Number.vi' with an offset of 1, the result is a number.

    Unfortunately, that does not differentiate between the following strings:

    A00005123 valid

    Invalid A5123

    Invalid A5123B123

    Invalid A005123BC

    All the world is this recently?  Is there a way to analyze non-specific chips (for example separating the groups of letters, numbers or other?)  Is there a complete way to do this without breaking the chain in 9 individual items and do a comparison of 26 item for the letter and 10 element for each number comparisons?

    Thank you

    Sean

    You can use a regular expression to match the pattern.

  • moved my computer screen a gon around the other way and dust

    moved the computer to dust underneath and writing on the screen came from the other direction

    moved the computer to dust underneath and writing on the screen came from the other direction

    Looks like you hit a key sequence that pivots on your screen.

    Try pressing CTRL + ALT at the same time and by tapping the arrows.

  • Test whether the object is Assigned() which means... not null

    In Delphi using the Windows SDK, I can use the Assigned() function to determine if an object has been instantiated... IOW, not null.  How this is done in ActionScript?  I've been going around in circles in the documentation.  I can find every keyword and the operator, but I can't find how to test a null object variable.

    If (MyDataGrid.selectedItem is not null) {.. my... code...}

    Thanks in advance.

    If (MyDataGrid.selectedItem! = null) {.. my... code...}

    or

    If (!.) MyDataGrid.selectedItem) {.. my... code...}

Maybe you are looking for

  • Equium U400-145 - need new AC adapter

    Hello Part of AC adapter No. is PA3468E-1AC3Model number is pa-1750-09 I need to replace the power adapter, but I'm am not sure the power required is 75w or 90w?The entrance is 240VOutput is to 19V Thank you

  • Update drive SATA 2.5 to 200 Gig Hitachi (A 0, 53070)

    I'm interested in upgrading my HARD drive to a Gig Hitachi 7 K 200 model; 0A 53070 This disk should support the BIOS password / encryption function, but I do not know if the ROM drive will need to be updated? Can someone tell me if this drive will re

  • Lost my cd of windows xp operating system

    Can someone help me with the problem below. A year ago, I bought a desktop computer HP with preinstallation OS (Microsoft XP Home edition). Now my PC has a problem because of which it requires reinstallation of the operating system. But to my surpris

  • How can I speed up my laptop, I sometimes have to turn off again because it helps freezes.please

    How can I speed up my laptop, I have sometimes shut off again as it freezes, then when I turn it back on again takes about 2 minutes... every time... why... It is a new laptop... msi with windows vista basic? I went to micro soft web site to see if t

  • HDMI not recognized

    I fight with my HP ENVY 15-j059nr Quad Edition laptop PC... I've been a fan of HP and Windows for many years. I'm under Win 8.1 and just moved all my old Pavilion Entertainment PC. I spent hours last night download all updates of proposed pilot. It s