Questions tagged [character-limit]
58 questions
2
votes
3 answers
Importing data to SAS from a csv file
I'm working with a .csv export of a workout app. It records the date, time, exercise, reps, weight, and comments. Like many .csv files, its a little messy.
Example:
Date,Time,Exercise,# of Reps,Weight,Comments12/23/2014,14:52,Hip…

aso118
- 23
- 3
2
votes
2 answers
Minimum 4 Characters or Show Nothing - PHP
I want to show up only words with minimum 4 Characters, actually I can limit the hits and show only words with min. 100 hits - but how can I set a min. character length? thank you!
function sm_list_recent_searches($before = '', $after = '', $count =…

ali
- 1,847
- 2
- 12
- 10
2
votes
1 answer
centered css textarea with character limit
I'm new to stackoverflow and new to web development as well. I believe the first part of what I'm trying to do should be easy, but I'm having quite a bit of trouble figuring it out.
The first style obviously centers my background image and that…

stokexx
- 77
- 2
- 10
1
vote
1 answer
List all files with size using powershell char limit issue
I have an applications folder that have more than 10 applications in. I want to list all files (including sub-folders) with directory and size info and save it under each application folder.
Here is the script (it is in…

user1125953
- 585
- 2
- 7
- 18
1
vote
1 answer
Limit text to a certain number of words in Swift
In a mobile App I use an API that can only handle about 300 words. How can I trimm a string in Swift so that it doesn't contain more words?
The native .trimmingCharacters(in: CharacterSet) does not seem to be able to do this as it is intended to…

User13294203
- 31
- 2
1
vote
1 answer
get-itemPropertyValue doesn't bind Path when using \\?\UNC\ (long unc path) in start-job scriptblock
I'm trying to multithread this
$var3 = Get-ItemPropertyValue $var2 -Name fullName,CreationTime,lastAccessTime,LastWriteTime,length;
by replacing it with:
$var3 = forEach($file in $var2) {
start-job -name "bla" -scriptblock…

Daniel Kaupp
- 165
- 2
- 12
1
vote
2 answers
HTML5 textarea character limit attribute
Is there an HTML5 attribute to set the maximum amount of characters in a textarea or other form?
I want a yes/no answer not some other method using javascript.

Web_Designer
- 72,308
- 93
- 206
- 262
1
vote
0 answers
Generating Pre-populated Emails and Windows Character Limits
We have an in-house Angular app where various emails are auto-generated using mailto:. The idea is that a user clicks a button and an email is auto-generated with various dynamic fields pre-populated and then opened in the user's default email…

Muirik
- 6,049
- 7
- 58
- 116
1
vote
2 answers
Why would JS character limits break in Safari?
I'm doing some character limiting on inputs using JS (because there isn't any other way of doing this on Shopify) and it works great in FF & Chrome but in Safari I get the following error:
SyntaxError: The string did not match the expected…

egr103
- 3,858
- 15
- 68
- 119
1
vote
1 answer
UITextField setting maximum character length in Swift
How can I override this UITextField function so that it will have a limit on the maximum number of characters?
override func shouldChangeText(in range: UITextRange, replacementText text: String) -> Bool {
}
I've done some research on stack, but…

dre_84w934
- 678
- 8
- 27
1
vote
1 answer
VBA Range 255 Character Limit
I'm trying to create a simple database in Excel and am running into an error with the VBA 255 character limit. I've created a couple of variables as String to map the correct input cells to the corresponding columns in the database worksheet.…

EMac
- 19
- 2
1
vote
5 answers
Javascript check text limit on submit
I have this JQuery code to limit text in a textarea to 250 characters:
$('#postform textarea').keypress(function() {
if($(this).val().length >= 250) {
$(this).val($(this).val().slice(0, 250));
return false;
…
user3438958
1
vote
2 answers
How to Bypass Character Limit When Using CMD /c?
I'm writing a command line batch script in Windows 7 to upload multiple images for hosting, paste the url (using this program) and filename into a line of text, then append the text to a file.
The following code gives me an error because the command…

Ryza Jr.
- 105
- 9
1
vote
1 answer
Python equivalent for batch Choice command
I'm working on a small project in python, and after a bit of work on it I was wondering if there was a way of inputting data in python 3 which was somewhat similar to batch's choice command. Pretty much only take in one key of input and then end the…

Monacraft
- 6,510
- 2
- 17
- 29
1
vote
2 answers
three character search not working
I am using FullText Searching in MySQL my database table engine type is MyISAM.
Now problem is that i want to allow use to search record if they have entered three words.
But problem is that FullText not allowing me to search record less than 4…

Dipesh Parmar
- 27,090
- 8
- 61
- 90