How to determine if all characters in a string are equal

后端 未结 6 963
甜味超标
甜味超标 2021-01-13 12:09

I need to know if all characters in a string are equal (formed by the same character). the function must return true or false depending if all the elements of the string ar

6条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-13 12:34

    From what i understood from your code

    Result:= False;
    

    ":=" is used to assign value to a variable. how do you compare 2 values in delphi?

提交回复
热议问题