Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javascript equivalent of vbscript chr(n) 1

Status
Not open for further replies.

countryboy

Programmer
Apr 29, 2001
6
CA
Hello all!
I'm trying to delimit a text string with a non-printable character such as VBScript chr(5).
How could I accomplish this in JavaScript?
TIA.
 
'\n' - a string that consist of carriage return character.
'\x0d' - the same
'\x05' - its probably what you ask for.


Vlad Grynchyshyn
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs
 
Vlad:
just what the doctor ordered.
Thank you.
Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top