RE: (forte-users) search and replace within aTextData

Welll, you're both right. The MoveToChar makes it unnecessary (if a little
sloppy) to MoveNext as long as you've changed the character. thus,
outStr: TextData = new;
outStr.SetValue(inStr);
while (outStr.MoveToChar(' ')) do
outStr.ReplaceRange('_', outStr.Offset, outStr.Offset+1);
end while;
return outStr;
works fine to change blanks to underscores.
Regards,
David
-----Original Message-----
From: Campbell, Dave [mailto:DCampbellpurolator.com]
Sent: Friday, 14 January 2000 0:58
To: 'Matthew Middleton'
Cc: kamranaminyahoo.com
Subject: RE: (forte-users) search and replace within a TextData
If you do not use the MoveNext method to skip beyond the "found" character,
a subsequent invocation of MoveToChar will find the same character, located
at exactly the same offset.
If there is no match, MoveToChar returns FALSE and the current offset does
not change.
----- Original Message -----
From: Matthew Middleton <mathew.middletonlawpoint.com.au>
To:kamranaminyahoo.com
Unless I'm missing something here...you needn't go through every
character...use MoveToChar()...as per Help...
while (TextdataObj.MoveToChar (' ')) do
end while;
Regards,
Dave Campbell
Consultant,
Caro Systems Inc.
Mailto:Dave.CampbellCaroSys.com
For the archives, go to: http://lists.sageit.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

Why not this:
while myText.moveToString(' ') do
myText.ReplaceRange('-', myText.Offset, myText.Offset+1);
end while;
or if you prefer verbosity:
while myText.moveToString(source=' ') do
myText.ReplaceRange(source='-', startOffset=myText.Offset,
endOffset=myText.Offset+1);
end while;
-----Original Message-----
From: FatchJeBAM.com [mailto:FatchJeBAM.com]
Sent: Wednesday, January 12, 2000 2:51 PM
To: Troy.Burnsvacationclub.com; kamranaminyahoo.com
Subject: RE: (forte-users) search and replace within a TextData
How about this?? May have to play with start/end on ReplaceRange as I
didn't really test this
Anybody got a better way??
-- replace space with underscore
For x in 1 to myTextdata.LengthToEnd() do
If myTextData.IsSpace() then
MyTextdata.ReplaceRange('_'. Startoffset=myTextdata.offset,
endoffset=myTextdata.offset+1);
End if;
MyTextdata.MoveNext;
End for;
Jerry Fatcheric
-----Original Message-----
From: Burns, Troy [mailto:Troy.Burnsvacationclub.com]
Sent: Wednesday, January 12, 2000 9:40 AM
To: kamranaminyahoo.com
Subject: (forte-users) search and replace within a
TextData
Hello all,
I need to search within a textdata object, replacing all
occurrances of a
space
with another character. Can you give a quick code example
of how I would do
this?
Thanks in advance,
Troy
Troy Burns
Marriott Vacation Club Intl.
E-mail: troy.burnsvacationclub.com
Phone: (941) 688-7700 ext. 4408
For the archives, go to: http://lists.sageit.com/forte-users
and use
the login: forte and the password: archive. To unsubscribe,
send in a new
email the word: 'Unsubscribe' to:
forte-users-requestlists.sageit.com
For the archives, go to: http://lists.sageit.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

Similar Messages

  • Re: (forte-users) SAXParser and InputSource

    Michael Beaulieu wrote on Mon November 8:
    Hello,
    I was wondering if anyone has any experience using the XMLParser
    Library!? in Forte. I have no problem parsing a file using the
    forte parser but when I try to parse a message/TextData object I get
    the error " element not found " ( which is not due to my xml file )
    The class InputSource has a method that takes SeekStream in its
    setCharacterStream method:
    str : MemoryStream = new();
    str.open(SP_AM_READ_WRITE);
    str.WriteText(myMessage);
    theSource : InputSource = new();
    theSource.setCharacterStream(str);
    myParser.parse(theSource);Add this line after you're done writing to the MemoryStream:
    str.Seek(position=0);
    When the SAX parser is reading, it's reading from the current position
    forward; after writing to the stream the current position is at the
    end, so you have to rewind it to the beginning before giving it to the
    SAX parser.
    Cliff Draper
    Forte Engineering
    Forte Software, a subsidiary of Sun

    Why not this:
    while myText.moveToString(' ') do
    myText.ReplaceRange('-', myText.Offset, myText.Offset+1);
    end while;
    or if you prefer verbosity:
    while myText.moveToString(source=' ') do
    myText.ReplaceRange(source='-', startOffset=myText.Offset,
    endOffset=myText.Offset+1);
    end while;
    -----Original Message-----
    From: FatchJeBAM.com [mailto:FatchJeBAM.com]
    Sent: Wednesday, January 12, 2000 2:51 PM
    To: Troy.Burnsvacationclub.com; kamranaminyahoo.com
    Subject: RE: (forte-users) search and replace within a TextData
    How about this?? May have to play with start/end on ReplaceRange as I
    didn't really test this
    Anybody got a better way??
    -- replace space with underscore
    For x in 1 to myTextdata.LengthToEnd() do
    If myTextData.IsSpace() then
    MyTextdata.ReplaceRange('_'. Startoffset=myTextdata.offset,
    endoffset=myTextdata.offset+1);
    End if;
    MyTextdata.MoveNext;
    End for;
    Jerry Fatcheric
    -----Original Message-----
    From: Burns, Troy [mailto:Troy.Burnsvacationclub.com]
    Sent: Wednesday, January 12, 2000 9:40 AM
    To: kamranaminyahoo.com
    Subject: (forte-users) search and replace within a
    TextData
    Hello all,
    I need to search within a textdata object, replacing all
    occurrances of a
    space
    with another character. Can you give a quick code example
    of how I would do
    this?
    Thanks in advance,
    Troy
    Troy Burns
    Marriott Vacation Club Intl.
    E-mail: troy.burnsvacationclub.com
    Phone: (941) 688-7700 ext. 4408
    For the archives, go to: http://lists.sageit.com/forte-users
    and use
    the login: forte and the password: archive. To unsubscribe,
    send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.sageit.com
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

  • How do you find and replace "within selected text" in a textedit document (version 1.8, mountain lion)

    In the textedit version on Snow leopard it was possible to search and replace within a peice of selected text only i.e. not the entire file. This was a very useful feature because you could select a paragraph and replace all occurences of word1 with word2 within that paragraph only! This feature appears to be missing from the mountain lion version of textedit (version 1.8). Or can anyone tell me how to do it ... ?

    Having 46 people view a post without replying is not unusual. Some people look at a question to see if it's something they'd like to know the answer to, and then come back  when it has eventually been answered.
    I'm not sure if you need to escape forward slashes in Dreamweaver's Find and Replace dialog box, but I normally do because both JavaScript and PHP normally use forward slashes as delimiters to mark the beginning and end of the regex like this:
    var pattern = /[A-Z]{4}/; // JavaScript
    $pattern = '/[A-Z]{4}/';   // PHP
    When a forward slash appears inside the regex, you need to escape it with a backslash to avoid confusion with the closing delimiter.
    As you have worked out, a capturing group is created by wrapping part of the regex in parentheses.
    If you want to match exactly 38 characters, you can use [\S\s]{38}. That includes spaces, newline characters, symbols, everything.
    If you're trying to find everything between two tags, you can do this:
    (<\/tag_name>)([^<]+)
    The closing tag is captured as $1 and everything up to the next opening tag is captured as $2.
    Learning regular expressions is not easy. I don't claim to be an expert, but I enjoy the challenge of trying to solve them. If you're interested in regular expressions, there are several books published by O'Reilly. "Mastering Regular Expressions" is the ultimate authority, but it's a difficult read (not because it's badly written, but because of the complexity of the subject). "Regular Expressions Cookbook" is very good. There's also a new "Introducing Regular Expressions", but I haven't read it.

  • Search and Replace NTFS permissions by SID

    About to pick up a file server out of an SBS domain and drop it into a new domain.
    When I drop the server into the new domain it will break all the permissions and they will just be SIDs
    Are there any tools or scripts (paid or not) that let me do something like a SID based search and replace within NTFS permissions? 
    Cheers
    Andrew
    This topic first appeared in the Spiceworks Community

    Try this:
    Turn on Show Invisibles in the View menu.
    Select (highlight) the double para breaks.
    Use Command-E  (Find using selected text).
    Open the Find dialogue box (Command-F) and select Find & Replace.The selected para breaks will be in the Find text entry box, but will not be visible!
    Click in the Replace text entry box.
    Select (highlight) a single para break.
    Go to the Edit menu / Find and select 'Use selection for replace' (it will not show in the Replace entry box).
    In the Find & Replace dialogue box, click on the Forward or Back arrows to highlight the selected items (e.g. double para break) where you wish to start replacing in the document.
    Use the Replace All / Replace & Find / Replace buttons as per usual.
    Not a nice solution, but I hope it gets you going until Apple restores the previous functionality!

  • Global search and replace on large-scale multi-user sites

    Is there a way for Dreamweaver to select only the files that
    are found when using the find and replace facility? This would make
    updating large websites a lot easier.
    From time to time I need to perform small changes to text or
    code (that obviously is not contained in an include file or library
    item) sitewide. As the site is administered by multiple users, it
    uses the check-in/check-out system, which means that before editing
    a file, it needs to be checked out. Thus, we can't just use search
    and replace directly, we have to check out the relevant files
    before performing the replace routine. The problem is selecting
    only those files which will be affected by the search and replace
    (and perform the operation in minutes) rather than selecting
    everything (and spending hours).
    Since it seems one is unable to select only files that appear
    in the search results, I have to manually identify the folder that
    holds the files with the results, and then check it out. As the
    files which need to be edited might be scattered around the whole
    site, this often means that I have to check out whole folders close
    to the site root. The check-out command will include everything in
    a folder, and the site contains thousands of files (which has to be
    checked back in afterwards), so obviously this is a heavy and
    time-consuming operation.
    Does anyone know if DW has a way of selecting only the
    relevant documents, or have suggestions for other ways of doing
    this? I get the feeling that this is most easily achievable by
    using tools outside DW, but I hesitate to go outside DW since it
    would interfere with DW's site managment system.

    I don't think you will find anyone here with such experience,
    not the least
    reason being that Library items run out of useful steam at
    about 100 pages.
    To use them on larger sites is just too tedious and risky,
    honestly. Is
    there any possibility to change to server-side includes?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "lochnessmoose" <[email protected]> wrote in
    message
    news:gb5ua7$a2t$[email protected]..
    > Is there really noone here with experience with this
    problem?
    >
    > The same problem applies to editing library items. I
    need to update a
    > library
    > item that will affect 200+ files (on a website that has
    thousands). Being
    > able
    > to select only those 200 for check out before editing
    would be a lot
    > easier
    > than having to check out the entire 500 MB site....
    >

  • Photos moved from an external HDD to another: Search and replace paths?

    Hi everyone,
    I've been using iPhoto for a few years now and today I have iPhoto '09. I never let iPhoto copy my photos in its library when importing them, since I have most of them stored on an external hard drive. (Also, if the folders within the library would be properly dated like "2008-09-07" and not named like "7-Sep-2008" and "8-Apr-2008" making the former getting listed before the later, and if I could easily manage external volumes, I would be happy. But, I suppose that's a job for Aperture or Lightroom.)
    I have moved my photos from a small 160GB external hard drive to a new 2TB external hard drive. The problem right now is most of my photos in iPhoto can no longer be displayed. It offers me the option to locate a file every time I open a photo, which I can do, but doing the same task for each and every picture among thousands is daunting.
    To manage photos not stored within its library, iPhoto creates an alias to each picture file. I found a Bash script allowing me to perform a search and replace on all symbolic links in a specific directory. However, the problem is aliases are not the same as symbolic links.
    Is there any way for me to perform a search and replace on all the aliases within the iPhoto library in order to make them point to the new hard drive now containing the pictures?
    By the way, I'm also having a similar problem with iTunes:
    http://discussions.apple.com/thread.jspa?threadID=2190505

    This issue is the main reason why I never recommend a Referenced Library. Some folks have had success using an app called _[File Buddy|http://www.skytag.com/filebuddy]_ to reconnect the aliases. If that fails then I'm afraid then you will find yourself reconnecting them manually.
    Running a Managed Library this issue simply doesn;t arise. And of course, you can easily run a Library from an external disk and easily move Libraries between disks.
    Should you wish to consider converting from a Referenced to a Managed library, then AliasHerder is an application that will replace these aliases with the actual files, and so preserve your Library and all your work in it. As always: back up first.
    (Also, if the folders within the library would be properly dated like "2008-09-07" and not named like "7-Sep-2008" and "8-Apr-2008" making the former getting listed before the later, and if I could easily manage external volumes, I would be happy. But, I suppose that's a job for Aperture or Lightroom.)
    How iPhoto names the folders within the Library Package is irrelevant as you never access them that way.
    There are many, many ways to access your files in iPhoto:
    *For Users of 10.5 and later*
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    You can access the Library from the New Message Window in Mail:
    Uploaded with plasq's Skitch!
    *For users of 10.4 and later* ...
    Many internet sites such as Flickr and SmugMug have plug-ins for accessing the iPhoto Library. If the site you want to use doesn’t then some, one or any of these will also work:
    To upload to a site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. However, if you're using Gmail you can use iPhoto2GMail
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    *If you want to access the files with iPhoto not running*:
    For users of 10.6 and later:
    You can download a free Services component from MacOSXAutomation which will give you access to the iPhoto Library from your Services Menu. Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and later:
    Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    Regards
    TD

  • JS InDesign Server CS2 - Search and Replace

    I am struggling to get a search and replace script to work on InDesign Server CS2.
    This works on my Desktop CS2:
    app.documents[0].search('xxx', false, false, 'yyy');
    but not through InDesign Server CS2.
    Can any one please help.
    Thanks
    Simon Kemp

    Thanks for all of the replies.
    This situation is that the company I work for has decided to consolidate some of the duties of our graphics departments.  People in one location will be dummying documents for people at another location.
    The paths to the images are UNC paths, which means they're pointing to different shares on different servers.  This cannot be changed.
    Also, the images at either location may not exist until days after the dumming process.
    During the dummying process, the application that's used to build the pages places empty ad boxes (placeholders) on the page.  The placeholders are text frames.
    I don't understand in what way, but the paths to the images are hidden inside the InDesign file.  From the users' standpoint, the placeholders simply display basic information about the ad (customer name, ad number, etc.) and hold the position for the images that will be placed later.
    It is not using script labels to apply the paths.
    So, this is why I describe the problem as needing to do a search and replace inside the InDesign file.
    As I mentioned before, I know this is doable.  I think I now see that the problem problem is figuring out how these hidden paths are being applied in the document.  My only thought was script labels, but this is not the case...

  • Is there any "Search and Replace" option in Crystal Reports?

    Is there any option to search and replace in Crystal Reports. Since i am using a name in many of the formulas in crystal reports. I need to replace with the desired name on the go.
    Could anyone help me on this....

    Search & Replace across formulas is not available in CR XI but is available in CR 2008.  Here is an excerpt from the CR 2008 Users Guide:
    Searching for formula text
    You can use the Find dialog box to carry out a number of different activities:
    u2022 Search for text or characters in the Field, Function, or Operator trees.
    u2022 Search for text or characters that you want to mark or replace in the
    formula, Custom Function, or SQL Expression that you have open.
    u2022 Search for text or characters across all SQL Expressions in a report.
    u2022 Search for text or characters across all formulas and Custom Functions
    in a report.
    When you search for text across all formulas, the results appear in a pane
    at the bottom of the Formula Workshop. (You can dock the results pane in
    other locations). When you click an item in the results pane, Crystal Reports
    opens the appropriate formula and highlights the matching text.
    Tip: You can open the Formula Workshop to search across all formulas
    from the Field Explorer and from the body of a report. To do this, select a
    formula field, right-click it, and choose the "Find in Formulas" option.

  • In Pages, how to search and replace text involving invisible characters?

    In Pages documents, how to search and replace text involving invisible characters, colors and font sizes—a task which is so easy in Mircosoft Word?

    I read that an older version of Pages allowed users to enter special characters in the search/replace fields, but this did not work for me.
    Here: http://www.macworld.com/article/1156533/pagesspecialcharacters.html
    I still am looking for a way to do this.

  • Regular expression to change Hour:Min:Sec time to Min:Sec using the Search and Replace tool

    Hi,
    I think the title says it all, but I've used a script to export a project from an NLE as a html file with a bunch of images and timecodes within table cells. For example, In=00:00:34 and Out=00:01:30 needs to be converted In=0:34 and Out=1:30. I think the Search and Replace is the most simple way of working that, but I've not experience with Regular Expressions (or much in that regard) so would really appreciate if someone could give me a hand writing the Regular Expression I need to achieve this.
    Thanks in advance,
    James

    Okay, so an example row is:
    <tr>
    <td align="left" valign="top"><p align="left"><img src="Snapshot At Event Start [00-01-22-19].jpg"><br>
    <strong>In: </strong>1:22<br>
    <br>
    </p></td>
    <td align="left" valign="top"><p align="left"><img src="Snapshot At Event End [00-01-24-25].jpg"><br>
    <strong>Out: </strong>1:24<br>
    </p></td>
    <td width="100%" align="left" valign="top"><p><strong>Cut to League Video</strong></p>
      <p><strong>Duration</strong>: 2<br>
      <strong></strong></p></td>
    </tr>
    I need to change it to:
    <tr>
    <td align="left" valign="top"><p align="left"><img src="Snapshot At Event Start [00-01-22-19].jpg"><br>
    <strong>In: </strong>1:22 seconds<br>
    <br>
    </p></td>
    <td align="left" valign="top"><p align="left"><img src="Snapshot At Event End [00-01-24-25].jpg"><br>
    <strong>Out: </strong>1:24 seconds<br>
    </p></td>
    <td width="100%" align="left" valign="top"><p><strong>Cut to League Video</strong></p>
      <p><strong>Duration:</strong> 2 seconds<br>
      <strong></strong></p></td>
    </tr>
    The script itself is something I found somewhere on the internet - it's for Sony Vegas.
    I've highlighted the changes with bold underlined italics.
    Thanks for you help, guys,
    James

  • Search and replace in Muse files

    I have a lot of links to my own files  in a given web page.
    I will be relocating the files and want to know if I can run a search and replace the links with their new urls  on the Muse files
    I do not want to be manually replacing each link using the Muse add link button. That will take forever.
    I will be using a separate search and replace program not anything within Muse
    Clear?

    Hi J KIrby,
    You have the option of 'Find and Replace' in Muse under 'Edit' menu option.
    Also, please refer to our release notes page to see what other features have been added to muse in the last update - Release notes | Adobe Muse CC
    - Abhishek Maurya

  • Search and Replace on master pages

    Is there a way to do Search and Replace on masterpages.
    Example: There are 30 files in a .book document.
    On those 20 files the header and footer must change.
    The header and footer are on the master pages.
    Can you p. e. change "Haeder1" to "Header1" with Search and Replace?
    Right now we do it on this way:
    Open all files in book
    Set view to Masterpage manually file per file (30 times).
    Search "Haeder1" and replace with "Header1" (option search in book)
    Is there a way to do it faster?
    Thanks in advance
    Sander Gheldof

    Thanks for your help...but the headers aren't variables...
    It may be that your solution is to bite the bullet today and do the page-by-page change of your headers to variables.
    System header variables can, for example, contain text from a paragraph style such as a level-[ 1 | 2 | 3...] heading. Or other values received from a FrameMaker named paragraph style.
    User-defined variables can also be used in headers and footers, although they can't be made to do the zippy automatic things system header/footer variables do...
    The essential point being that after doing it the hard way today, you may never need to do it again tomorrow. Or, alternatively, subsequent changes can be effected by changing the value of the variable and importing that into the desired target chapter files...
    Cheers & hope this helps,
    Riley

  • Search And Replace Patter VI

    I'm struggling with using the search and replace patter to replace a number of substring matches within a string, can anyone help and tell me what am I doing worng? Not an expert in regexps
    I'm basically trying to replace all the matches for "NONE","none" or "normal" with "OK within the "1NONE2none3normal4" string
    Thanks
    Solved!
    Go to Solution.

    From the help on for the "Match Patern" VI: "This function is similar to the Search and Replace Pattern VI. The Match Pattern function gives you fewer options for matching strings but performs more quickly than the Match Regular Expression function. For example, the Match Pattern function does not support the parenthesis or vertical bar (|) characters." The "Search and Replace Pattern.vi" uses Match Pattern internally.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Is there a "search and replace" feature on IWeb?

    After building my entire site from scratch, I have learned many, many things that will help it load faster, etc.
    This will involve redesigning buttons, and taking some photos and manipulating them in Photoshop (rather than adding borders in IWeb, etc.), etc.
    As I have several pages that include the same items, is there a way that I can find all of the same pictures and replace them with my new edited version with a "search and replace" type of function? Or do I have to go to each page, and delete the old and add the new?
    Thanks for all the help -
    Kim

    As I have several pages that include the same items, is there a way that I can find all of the same pictures and replace them with my new edited version
    You'll have to copy an paste the new items in each page.
    I suppose you could name the new item the same as the old and replace it in the individual page folder. I think that would save you from having to edit any html pages. But if you're going to make other edits to the page which require you to open it in iWeb you might as well replace it that way. It will have to be the same pixel size as the previous file was.
    I did a file replacement for the last three tutorials button in my Old Toad's Tutorials site. Worked like a charm until I next publish.
    *HOWEVER, if you republish the site or page the files will be replaced with the originals. So unless you're not going to change it again you'll have to do the change in iWeb so they will remain changed.*
    Just changed that page from within iWeb so the demo of the process is not available any more.
    OT
    Message was edited by: Old Toad

  • Using a variable in a Powershell search and replace string

    Hi
    a couple of days ago I posted a question about doing a search and replace with wildcards
    Search and repalce with Widcards
    I got a swift and very helpful answer but now I need to build on it.
    In a text file I wanted to replace all the text between two defined words.  the script I got was this
    $text = 'Some Server this bit of text varies Language stuff'
    $text -replace '(.*Server) .+? (Language.*)','$1 it will always say this $2'
    It works great but now I want to replace "it will always say this" with a variable and I can't figure out the correct grammar to make this happen.
    Can anyone help??
    Thanks
    Alex

    Here's one way:
    $replace = 'it will aways say this'if ( $text -match '(.*Server) .+? (Language.*)' )
    { "{0} $Replace {1}" -f $matches[1,2] }
    else { $text }
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

Maybe you are looking for