home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.ms-sqlserver      Notorious Rube Goldberg contraption      19,505 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 18,882 of 19,505   
   rja.carnegie@gmail.com to contracer   
   Re: Extracting nth word in a string   
   11 May 13 07:07:37   
   
   On Saturday, 11 May 2013 14:21:35 UTC+1, contracer  wrote:   
   > Hi,   
   >   
   > Please, can you help me how extract nth word in string ccs.errormessage ?   
      
   I think /that's/ a case to write a user-defined function,   
   particularly if n isn't fixed.  In the function, you can   
   use CHARINDEX(' ', @message, @previousSpace+1) to find   
   each word break - if the word break is a single space.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca