Tag not working

Hello,i have some problem with GameObject.FindWithTag.This not working with a variable instead of tagname.

Example:blocks=transform.position.x+","+transform.position.y // ==> blocks=100,200
if(GameObject.FindWithTag(blocks)){
print("Exist");
}

But this search for gameobject with tag “blocks” not with variable blocks.Any help please?I

FindWithTag only works with a string parameter, so you can either use:

if(GameObject.FindWithTag("blocks"))

or

string blocks = "blocks";
if(GameObject.FindWithTag(blocks))