Re: Splitting on =
- From: tommy.nordgren@xxxxxxxxx (Tommy Nordgren)
- Date: Wed, 21 Sep 2005 23:01:17 +0200
Sep 21, 2005 kl. 9:48 PM skrev Tommy Nordgren:
How do you split a string on the equality character? Neither split (/=/,$myvar) nor split ('=',$myvar) appears to work "Home is not where you are born, but where your heart finds peace" - Tommy Nordgren, "The dying old crone"
-- To unsubscribe, e-mail: beginners-unsubscribe@xxxxxxxx
For additional commands, e-mail: beginners-help@xxxxxxxx
<http://learn.perl.org/> <http://learn.perl.org/first-response>
I've verified that the problem with my script occurs because the string I'm trying to parse
is using a different coding of the equality sign.
The default output format of the tool whose output I'm trying to process is UniCode .
Apparently there is multiple code point for the = character in unicode.
telling the tool whose output I'm trying to process to use the Mac Roman encoding instead,
succeds.
How can you properly match = characters in unicode strings? ------------------------------------- This sig is dedicated to the advancement of Nuclear Power Tommy Nordgren tommy.nordgren@xxxxxxxxx
.
- Follow-Ups:
- References:
- Splitting on =
- From: Tommy Nordgren
- Splitting on =
- Prev by Date: trying to run net::ssh::perl have errors
- Next by Date: re: Reading in external file, strip out duplicates, sort then save as ext. file
- Previous by thread: Re: Reverse If and Normal Else
- Next by thread: re: Reading in external file, strip out duplicates, sort then save as ext. file
- Index(es):
Relevant Pages
|
|