Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Special Characters (especially TAB)  (Read 2381 times)

0 Members and 1 Guest are viewing this topic.

raychaser

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
    • View Profile
Special Characters (especially TAB)
« on: August 12, 2007, 02:38:25 AM »

Hi,

I've had to put some further parameters into the strings.tab file and I have used tab delineation since it's already set up that way.

It works so far and when I pull the string:
NAME<tab>param1<tab>param2<tab>Text

from the file I get:
param1<tab>param2<tab>Text

so now all I need to do is split this string by the TAB key and VOILA!!

I'm using the javascript special characters myStr.Split("\t"); but that's not working.  Could it be that WME uses different special characters?

Also is there a place I could find a list of all the other special characters? Carriage returns etc?  I searched around in the help files and the forums but didn't find anything
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Special Characters (especially TAB)
« Reply #1 on: August 12, 2007, 09:34:35 AM »

WME uses the tilde (~) as an escape character. You can use ~n and ~" to include a new line or a quotation mark.
However, there's no escape character for TAB. You can use literal tab in a string though.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.029 seconds with 19 queries.