207
Views
5
Comments
Solved
Input search

Hello guys! I having issues with spaces in the input widget of the search button. It should be searching the word even there are lot of spaces in the start of the typing in the input. Maybe you have ideas how to address it. Thank you!

2020-11-13 07-48-15
Khuong Truong
Solution

Hi RD,

I'm not sure what is "spaces should be allowed in the start of the typing". However you can using Trim(), TrimStart(), or TrimEnd() to remove space characters from your string (in this case your searchKeyword).

This is the text document you can take a look too.

Cheers,

khuong

UserImage.jpg
RD.

Hello Khuong!  Already did this one - Trim(Searchkey), and it solved the problem. Thank you!

2020-11-13 07-48-15
Khuong Truong

Hi RD,

Glad it helped you and you're welcome!

Cheers,

khuong

2021-10-17 12-36-16
Amreen Shaikh

Hello RD,

Are you copy pasting in search input widget?

Even if you that case you can use" like" with "%" operator for the search if its string /text.


Thanks,

Amreen

UserImage.jpg
RD.

Hi Amreen! I also use "like" and "%" as shown in the picture. Thank you for answering!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.