Re: creating a list from copy and pasted text from notepad...

2006-08-23 Thread Jim Wright
D F wrote: > Yah you're right it should be "\n" etc.. I tried both, no luck. > > I also tried search for the spaces, but no luck there either. > Try outputting the ascii of your var to see what it contains #i# - #asc(mid(myvar, i, 1)# ~~~

Re: creating a list from copy and pasted text from notepad...

2006-08-23 Thread Claude Schneegans
>>For example I'm trying to import a cut and pasted list from notepad that looks like this.. In your example, you have no spaces but new line chars, so you should replace all these by true spaces first, ie: myList = REReplace (myList, "[[:space:]]+", " ", "all") Then you'll have a space delimi

Re: creating a list from copy and pasted text from notepad...

2006-08-23 Thread D F
Yah you're right it should be "\n" etc.. I tried both, no luck. I also tried search for the spaces, but no luck there either. >Check they are actually spaces. Forget about /n or /r, and I think these >should be \n but not in CF... > >Ade >

RE: creating a list from copy and pasted text from notepad...

2006-08-23 Thread Adrian Lynch
Check they are actually spaces. Forget about /n or /r, and I think these should be \n but not in CF... Ade -Original Message- From: D F [mailto:[EMAIL PROTECTED] Sent: 23 August 2006 13:14 To: CF-Talk Subject: creating a list from copy and pasted text from notepad... Hi there, I&#

creating a list from copy and pasted text from notepad...

2006-08-23 Thread D F
Hi there, I'm trying to create a list ( with the delimiter set for space )... but it seems that when the text I'm working with ( cut and pasted from notepad ) it seems Coldfusion is not recognizing the spaces as legitimate spaces... probably some kind of control characters or line brakes etc