P
Pepasone
Guest
Attempting to count the number of line-breaks "\n" in a string, but the string functions don't seem to recognize them:
This string_count returns 0, any ideas on how I can look for line breaks in a string?
GML:
if string_count(global.sets[# setPosition, i], "\n") > 0
// String in Question
"Health: 50\nMana: 50"