next up previous contents
Next: IsNull Up: Methods Previous: RemoveBlanks   Contents

LineCount

NAME

LineCount

PROTOTYPE

#include "CifString.h"

int CifString::LineCount();

EXAMPLE

#include "CifString.h"

CifString *s = new CifString("abc");
cout<<s->LineCount()<<endl;
PURPOSE

LineCount() Counts the number of lines in the string.

RECEIVES

None

RETURN VALUE

Returns number of lines in the string.

REMARKS

None



Olivera Tosic 2002-06-12