you can create it runtime like
str = str_create("#4000");
then you can check its real length by str_len(str);

unfortunately I don't know too much about texts I use only txt_for_dir and for file name string inputs... but I would use txt_create() where you can set the number of strings stored e.g. in a separate info file. that could help to avoid length problems, and can save some memory.


Free world editor for 3D Gamestudio: MapBuilder Editor