Questions tagged [suffix]

A suffix is a group of letters, usually of a regular form, that has a meaning within it's short form, that when applied to a word changes the meaning and/or intent of that word.

A suffix is a group of letters, usually of a regular form, that has a meaning within it's short form, that when applied to a word changes the meaning and/or intent of that word.

258 questions
0
votes
1 answer

Magento Change Product Page Titles to only include catalog, level1 and 2

I have a rather long and complicated category-struktur up to 5 levels of subcategories. It is all by standard added to product-html-title. I would like it only to show catalog, level1 and level2 subcategories. any suggestion how to fix this? Thanks…
MSP
  • 11
0
votes
2 answers

Removing alpha numeric suffix in the file

I have a certain lines that have IDs in 4 th column of a file that end with ':E1' (I want to remove these lines that have 4 th column specifically ending with :E1 not :E11 or :E10 s etc ). When I do a grep I get that there are 87 lines having that…
AishwaryaKulkarni
  • 774
  • 1
  • 8
  • 19
0
votes
1 answer

Declaring m-suffix for a decimal type dynamically

If I want use a decimal-literal in code, I use m-suffix, for example decimal test = 1000m; Is there any way to declare this m-suffix dynamically in run time? Somethings like this one: decimal DeclareDecimal_M_SuffixFor(int decimalPoints) { …
Masoud
  • 8,020
  • 12
  • 62
  • 123
0
votes
2 answers

How to add suffix to array elements and display array elements separated by comma using php

I have an array from 0 to 100. I need to append the proper suffix (st, nd, rd, th) to each and then display it as mentioned in the last comment IE "1st, 2nd, 3rd, 4th, 5th, (etc to last element)." <- Ends with "." instead of ", ". Have been…
0
votes
0 answers

Android WebView with suffix

I want to add a suffix to a ERL that loads a WebView. For example, every URL that loads in WebView automatically gets a suffix if it doesn't have one. =url + "/suffix". Is there any possible way to do so?
0
votes
2 answers

Why it's assumed long without suffix

The following code does not compile because the value of x is a long value. So in the second line, it isn't possible assign a long value to y. long x = 10; int y = 2 * x; My question is: The first line doesn't have the suffix L in the variable of…
0
votes
1 answer

Why does URL pattern /admin/* also match /admin

I'm working with JBOSS AS 7 and I noticed an odd behavior, concerning servlet mapping. My web.xml : APPLICATION_NAME scom
Youssef NAIT
  • 1,362
  • 11
  • 27
0
votes
2 answers

do some versions of dd not understand multiplicative suffixes?

I was wondering if there are certain versions of dd that don't understand multiplicative suffixes. From the dd man page it says: bs=BYTES read and write BYTES bytes at a time (also see ibs=,obs=) BLOCKS and BYTES may be followed by the…
amadain
  • 2,724
  • 4
  • 37
  • 58
0
votes
1 answer

Loading a group of image urls in Three.js using a suffix

The thing is that I made a reflection cube where each side image change randomly each time that I reload my site. This is the code that I made: var imgAr = [ 'sources/instagram2/image1.jpg', …
gnazoa
  • 49
  • 11
0
votes
1 answer

Use dynamic programming instead of recursion to find largest common suffix (javascript)

I have found a recursive solution to find the largest common suffix of two strings. How can I convert this to a dynamic programming solution. Its difficult for me to conceptualize a bottom up solution since suffixes are easiest to compare from the…
Daniel Kobe
  • 9,376
  • 15
  • 62
  • 109
0
votes
1 answer

grab first name from field containing first/last name and extra information

I have a field (Called OWNER) that contains the following: LastName FirstName MiddleInitial Status everything is separated by spaces and there are no commas after the LastName. I want just the FirstName and MiddleIntial, the status always starts…
Charles Bunn
  • 70
  • 1
  • 1
  • 9
-1
votes
1 answer

how to find different endings to the same root word

trying to find both "itchy" and "itching" I can find just "itch" but id like to be able to code to find whole words. ^itch - obviously only finds root word
Hart
  • 7
  • 1
-1
votes
4 answers

How do I add a prefix/suffix to any given string in python?

"Your task is to write a function that adds a prefix or suffix to a person's name. The name of your function should match exactly as shown below, including cases (all lowercase") def fix_names(name, position, added_phrase): name = '' …
jdavis29
  • 41
  • 5
-1
votes
1 answer

Python exercise for 'remove suffix ness from the string/s'

I am trying to solve the python exercise for 'remove suffix ness from the string' and have written the following code, but I am unable to pass the test def remove_suffix_ness(word): no_suffix = [word[:-4] for word in word] for i in…
Hemant
  • 1
  • 2
-1
votes
1 answer

How to add daySuffix to day using dateformatter in Swift

I am getting daySuffix with below code func daySuffix(from date: Date) -> String { let calendar = Calendar.current let dayOfMonth = calendar.component(.day, from: date) switch dayOfMonth { case 1, 21, 31: return "st" case 2, 22: return "nd" case 3,…
User123
  • 51
  • 1
  • 7