<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=454195318-12112004><FONT face=Arial size=2>Hi,
Mathieu,</FONT></SPAN></DIV>
<DIV><SPAN class=454195318-12112004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=454195318-12112004><FONT face=Arial size=2>I got some dataset
in <A
href="http://www.julius.caesar.de/4000/4500.html">http://www.julius.caesar.de/4000/4500.html</A>.
The Dicom images in (CT Head) have "<FONT
size=3>MONOCHROM1".</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=454195318-12112004><FONT face=Arial>For your proposal,
function DcmStrEqual(string a, string b), parmeter 'a' should not be followed by
space.</FONT></SPAN></DIV>
<DIV><SPAN class=454195318-12112004><FONT face=Arial>I think the function like
follows: </FONT></SPAN></DIV>
<DIV><SPAN class=454195318-12112004><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=454195318-12112004><FONT face=Arial>bool DcmStrEqual(const
std::string& a, const std::string& b)<BR></FONT></SPAN><SPAN
class=454195318-12112004><FONT face=Arial>{ // suppose no space exists
between words, space only in the tail</FONT></SPAN></DIV>
<DIV><SPAN class=454195318-12112004><FONT face=Arial> std::string
aNSpace(a, 0, a.find_first(' ');</FONT></SPAN></DIV>
<DIV><SPAN class=454195318-12112004><FONT face=Arial> std::string
bNSpace(b, 0, b.find_first(' ');</FONT></SPAN></DIV>
<DIV><SPAN class=454195318-12112004><FONT face=Arial> return aNSpace ==
bNSpace;</FONT></SPAN></DIV>
<DIV><SPAN class=454195318-12112004><FONT face=Arial>}</FONT></SPAN></DIV>
<DIV><SPAN class=454195318-12112004><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=454195318-12112004><FONT face=Arial>thx,</FONT></SPAN></DIV>
<DIV><SPAN class=454195318-12112004><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=454195318-12112004><FONT face=Arial>Dennis</FONT></SPAN></DIV>
<DIV><SPAN class=454195318-12112004><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=454195318-12112004><FONT face=Arial><FONT
size=2></FONT> </DIV>
<DIV><BR></DIV></FONT></SPAN></BODY></HTML>