Questions tagged [character-limit]

58 questions
1
vote
2 answers

Javascript Regex Whitelist with character limit

I'm trying to add a character limit clause to this white list regex approach str = str.replace(/[^A-Za-z-_0-9 ]/g, ""); Is it possible and how do I do it?
shiva8
  • 2,142
  • 2
  • 19
  • 24
0
votes
2 answers

How to restrict the amount of characters in a Text() Tkinter box?

I've looked for many answers but have only found ones that show how to do it for Entry(). Here I would like to limit the number of characters to 200 but I don't know how to do so. from tkinter import * window =…
nikki
  • 3
  • 3
0
votes
0 answers

VSCode: How to not show the editor ruler and instead display characters past column limit in a different color?

I'm coming from spacemacs and editing Python files. In VSCode, I want to display characters past column limit (80 characters) in a different color (red), as in Spacemacs. I do not want to use editor.rulers to always show a ruler, as it's…
0
votes
1 answer

Stop user from typing in a textarea after reaching row limit?

I am working on a project where the the total amount of rows in a textarea will be equal to the offsetHeight of another element divided by 24. When setting the total amount of rows the user cannot create more rows by pressing enter, however when any…
pumpchief
  • 17
  • 6
0
votes
0 answers

How can I limit a series of PS outputs to a log file so that the log doesn't exceed a given character count & continues to a new log file?

I'm working with a PS script that has over 100 instances of writing a log for a given step of the script to a log file, and I've now been tasked with getting all those log outputs pushed into Windows Event Logs. The issue is, I don't want to go…
0
votes
1 answer

Stringed IF ELSE Functions exceeding the Excel character limit?

New excel user looking for a solution to a character limit issue with my ifelse() function. I am creating a database of people's home towns and their corresponding districts/counties/states. I have written a function that allows the district to come…
0
votes
2 answers

Truncating Text To Full Words Based On Character Limit - Excel

I'm working with some data (DataSet#1) which has a text field truncated using some unconventional logic: If "Service Type Description" is > 60 Characters, Trim the name down to < 60 characters, but only full words My problem is that I need to…
tseel
  • 35
  • 5
0
votes
1 answer

How to add text wrapping or char limit on an already formatted string

I have written some c# code that takes a csv file and displays in the console, I have used string.format to align both my heading and my column data however I have one string of data in a columns that it significantly longer in characters than the…
Hollie
  • 3
  • 2
0
votes
1 answer

How to get character count limitation including default name-Reactjs

I am trying to get character limit for input box ,but the input field has default value. if character limit exceeds text has to appear at 0 limit(Not popup) if i use below code it is not working fine for my requirement(say default value already…
R9102
  • 687
  • 1
  • 9
  • 32
0
votes
1 answer

Rename files in powershell to a much longer name above 260 limit

So, I am trying to make a PowerShell scripted backup of our documentation, solutions, and white papers to a windows server which can be easily accessed Unfortunately, when I download them I am unable to name the articles and attachments by their…
AdilZ
  • 1,107
  • 6
  • 27
  • 44
0
votes
1 answer

RWDBReader Cannot read more than 255 characters

We're using Rogue Wave tools for our database operations, writing in C++. When we try to read the results of a simple SQL query, like: RWDBResult resParam = VimerParamTblSlc.execute (pConn); RWDBTable resultParam = resParam.table (); RWDBReader…
Halo
  • 1,524
  • 3
  • 24
  • 39
0
votes
2 answers

Edit build definition - path over 259 characters

I need to edit my solution's build definition to include some new projects. Unfortunately, I can't do that because I keep getting the "path contains more than the allowed 259 characters" error. I've tried to rename the file to make it shorter - the…
0
votes
1 answer

Character limitation for WordPress WYSIWYG editor

I limited the number of characters that can be added as content for a special page (event submission page). It works fine in text or code mode in WordPress but not when I use the WYSIWYG editor. Any idea how to change it so it also works using the…
Torsten
  • 91
  • 1
  • 9
0
votes
2 answers

Does mongo regex query have character limit, if the regex search string is more than that limit it throws error

I am seeing mongo regex query not returning result when the regex searched string is very big, instead its throwing error. I have a scenario where I append lot of names to do a regex and thus my regex search string goes beyond 40000…
0
votes
0 answers

Getting around the cmd character limit

I recently asked a question on Super User, that pertained to getting around a character limit on the Windows-7 CMD. Here was my question: I have a script that generates emails for me. [18:35:50]Creating resolution ticket.. Enter ticket number:…
13aal
  • 1,634
  • 1
  • 21
  • 47