Converting String maybe

is this possible and if so how? Thanks

fin = "BfAmProducts.find_all_by_bp_cat_main_id_1 1000"

products = fin

## This is what i want to get products = BfAmProducts.find_all_by_bp_cat_main_id_1 1000

##Getting this products = "BfAmProducts.find_all_by_bp_cat_main_id_1 1000"

how can i convert that string?

Thanks for your time

is this possible and if so how? Thanks

fin = "BfAmProducts.find_all_by_bp_cat_main_id_1 1000"

You mean you want to eval the string? (then use eval, and careful
about what you feed it)

Fred