Saturday, May 1, 2021

How to extract a substring that comes after or before a specific symbol like @ in excel?

Use the following formula:

=RIGHT(A2,LEN(A2)-SEARCH("-",A2))
Before
=LEFT(A2,LEN(A2)-SEARCH("-",A2))

No comments:

Post a Comment

How to composer in cPanel using terminal Terminal

 At first, be sure that your cPanel has terminal access. Step-1 mkdir -p ~/bin cd ~ php -r "copy('https://getcomposer.org/installer...