PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, July 9, 2022

[FIXED] How to eliminate incomplete strings?

 July 09, 2022     array-formulas, arrays, google-sheets, google-sheets-formula, keyword     No comments   

Issue

I have a list of keywords, but the program I am using truncates the list at 160 characters, so I am unable to fully see the last keyword string.

I want to use Google Sheets to remove the incomplete parts of the keyword list. This would mean removing the last element altogether, as the picture illustrates.

enter image description here

I have tried using the trimming function but without much success. How can incomplete strings (any string that contains three dots at the end) be removed from the list?


Solution

try:

=ARRAYFORMULA(IFNA(REGEXEXTRACT(A2:A, "(.*), ")))

0



Answered By - player0
Answer Checked By - Robin (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing