/// <summary> /// advance the CsvString value cursor to the next value. /// </summary> /// <returns></returns> public CsvString.Value NextValue( ) { CsvString.Value vlu = Clone( ); vlu.AdvanceNextValue( ); if (vlu.IsAtValue == true) { return(vlu); } else { return(null); } }
public CsvString.Value NextValue( ) { if (mCurrentValue == null) { BeginValue( ); } mCurrentValue.AdvanceNextValue( ); if (mCurrentValue.IsAtValue) { return(mCurrentValue.Clone( )); } else { mCurrentValue = null; return(null); } }
public string[] ToStringArray( ) { string[] arr = new string[Count]; CsvString.Value vlu = BeginValue( ); int Ix = 0; while (true) { vlu.AdvanceNextValue( ); if (vlu.IsAtValue == false) { break; } arr[Ix] = vlu.ToString( ); ++Ix; } return(arr); }