Forum Discussion

PrashantMaheshw's avatar
PrashantMaheshw
Qrew Captain
2 years ago

Find if text field contains \n or Line Break

I have a text field XY containing data

"hello
friend
how are you"

I m trying to detect if it contains line break or \n (which it does)

contains([XY],"\n") 

This fails , what else can be done?

------------------------------
Prashant Maheshwari
------------------------------

4 Replies

  • I believe that this works as a formula checkbox

    Find([My Multiline Text Field], "\n") > 0

    ------------------------------
    Mark Shnier (Your Quickbase Coach)
    mark.shnier@gmail.com
    ------------------------------
    • PrashantMaheshw's avatar
      PrashantMaheshw
      Qrew Captain
      Hi mark, 
      Big Fat Thanks as always , Find did the trick

      ------------------------------
      Prashant Maheshwari
      ------------------------------
      • JeffLove's avatar
        JeffLove
        Qrew Trainee

        Another trick to identify and change or replace text fields is to use the

        URLEncode() on the field first, this displays lots of funky things that you can

        Find/Replace with <space> etc.



        ------------------------------
        Thanks, Jeff
        ------------------------------