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

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
12/21/1999