addFromString method

void addFromString(
String string,
[num weight]
)