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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

string with "tab" and "carriage return"

Status
Not open for further replies.

clarissa1996

Technical User
Jan 31, 2002
78
0
0
CH
Hi all,

I need to pass a string to a perl program.
The problem is that the string contains tab and carriage return characters.

Example: "AAA\tBBB\nCCC\tDDD"


I have found that I need to change the character "\t" with "%09":


... but I have no solution for the carriage return character.

Any help is appreciated.

Clarissa
 
Hi TonyGroves,
Hi MissBarell,

thanks a lot for your help.
With "%0D" now my progam works perfectly.

Clarissa
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top