def MakeStr(ea, endea):
    return idaapi.make_ascii_string(ea, 0 if endea == BADADDR else endea - ea, GetLongPrm(INF_STRTYPE))
Create a string.
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/MakeStr