Strings in Dynamic plugins

I can’t get away from this error

Writing this code

for (int i = 0; i < SpreadMax; i++)
				//FOutput[i](i) = FInput[i](i).Replace("c#", "vvvv");
			
			while (xmlReader.Read())
				if [xmlReader.NodeType == XmlNodeType.Element) && (xmlReader.Name == "FElement"](https://vvvv.org/documentation/xmlReader.NodeType-==-XmlNodeType.Element)-&&-(xmlReader.Name-==-"FElement") 
                            {
                                FOutput = xmlReader.GetAttribute("FAttriubute");
                            }

The area at issue in particular is “FOutput = xmlReader.GetAttribute(“FAttribute”);”

As I understand it the GetAttribute happens in C#'s native string language. How can I (if necessary) convert it to a vvvv string? I would imagie it would be something like

FOutput = vvvv.string(xmlReader.GetAttribute("FAttriubute"));

or something like that but I don’t know what the correct method would be.

Hayd

you need to use

FOutput[0](0)  = xmlReader.GetAttribute("FAttriubute");

this will set the first slice

FOutput is the collection, i.e. the spread
FOutput0 is a slice in the spread