ml ml ml en ml ml en te bn en ml en en kn en ml en en ml en en en ml en en en ml ml ml ml ml fi en en ml ml ml en pt cs en it en en en en en en en en de en en en ru en en en en en en en en pt en pt en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en te en en en en en en en en nl en en en en en hbs_lat en en en cs en nb en en en da en en en en en en en en en en es en en en en en en en en en en mn en ml ml ml ml ml ml en kn ml kn ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml en ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml
Jump to navigation Jump to search
This template trims leading and trailing square brackets and whitespace from a string. This is similar to {{delink}}, but it won't remove brackets from the middle of the string. The string should be passed as the first unnamed parameter or using |1= if your string contains any = signs. You may substitute this template - that is, if used as {{subst:trim brackets}}, the resulting wikicode is "clean".
{{trim brackets|text}} = text with any leading or trailing square brackets removed (as long as text doesn't contain any = signs).
"{{trim brackets|1= [[abc]] }}" produces "abc".
"{{trim brackets|1= [[abc]], [[def]], and [[ghi]] }}" produces "abc]], def, and [[ghi"
("{{delink|1= [[abc]], [[def]], and [[ghi]] }}" produces "abc, def, and ghi").
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
The template trims leading and trailing square brackets from a string.
The string to be trimmed
{{delink}}, which does nearly the exact same thing, but also removes balanced pairs of square brackets that aren't leading and trailing and has additional options.
String-handling templates (help page)
{{#invoke:string|sub}}, {{str sub new}}: Select a substring based on starting and ending index counted in either direction.
To trim down to a specified number of characters.
To trim down to a specified number of characters or duplicate the string to a specified number.
To crop a specified number of characters off the end.
Returns a given character from a string, but not accented letters.
To trim the first specified number of characters.
To return a number of characters from the end, returns a parameter if the string is empty.
To trim down to the last specified number of characters.
To trim down to a specified number, starting at a given number from the left.
To trim any leading or trailing whitespace
To trim down to the beginning letters.
To trim down to the beginning numbers.
To trim any leading or trailing square brackets.
To trim leading or trailing matching quotes.
To trim up to six instances of specified  .
Extract a short string from a long string.
To trim down to the first space.
To remove anything before the first space.
To trim down from the last space.
To remove anything after the last space.
Removes wikilink brackets (wikicode); all or outer only.
Removes "File:" (or "Image:") from filenames.
To trim off any parenthesis text at the end of a string (disambiguation).
Returns text in parentheses at the end of a string (disambiguation).
Removes "WikiProject" from a pagename.
Removes the string "unranked_" from the left of a string (taxonomy).
Returns the length of a ship's name prefix, if listed (ship names).
Returns the 4-digit year from a pagename, if any.
Returns the 4-digit decade (e.g. "1740s") from a pagename, if any.
Insertion, replacement and length
Repeat character string a specified number of times.
Returns the string, after replacing all occurrences of a specified string with another string.
Returns the string, after replacing the first occurrence of a specified string with another string.
Returns the string, after removing all characters that are not digits 0–9
Strips wikicode from a string.
Returns a string's length.
To check if a string is "longer or equally long" or "shorter" than a given length.
To check if a string is "shorter or equally long" or "longer" than a given length.
To check if a string is "not equal" or "equal" to a given length.
To check if a string ends with a given string.
{{str find}}, {{strfind short}}
Returns the numerical location of a given string in a string.
Takes a noun and produces the appropriate indefinite article, based on whether the first letter is a vowel.
Returns number when true, blank when not numeric.
Returns the number of letters that begin a string.
Returns the number of numbers that begin a string.
Modules and built-in functions
Module:String, Module:String2, Module:Ustring: modules that together contain most necessary string functions.
Magic words: About {{padleft:|}}, {{lc:|}}, {{formatnum:|}} etc.
ParserFunctions: About {{#titleparts:|}}, {{#expr:|}}, {{#ifeq:|}}, etc.
മുകളിൽ കാണുന്ന വിവരണം ഫലകം:Trim brackets/doc എന്ന ഉപതാളിൽ നിന്ന് ഉൾപ്പെടുത്തിയിട്ടുള്ളതാണ്. (തിരുത്തുക | നാൾവഴി)
താങ്കൾക്ക് പരീക്ഷണങ്ങൾ ഫലകത്തിന്റെ എഴുത്തുകളരി (നിർമ്മിക്കുക) താളിലോ testcases (നിർമ്മിക്കുക) താളിലോ നടത്താവുന്നതാണ്‌.
ദയവായി വർഗ്ഗങ്ങളും ബഹുഭാഷാകണ്ണികളും /വിവരണം ഉപതാളിൽ മാത്രം ഇടുക. ഈ ഫലകത്തിന്റെ ഉപതാളുകൾ.
"https://ml.wikipedia.org/w/index.php?title=ഫലകം:Trim_brackets&oldid=3300401" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്
Templates based on the String Lua module
ഈ താൾ അവസാനം തിരുത്തപ്പെട്ടത്: 23:28, 22 മാർച്ച് 2020.
വിവരങ്ങൾ ക്രിയേറ്റീവ് കോമൺസ് ആട്രിബ്യൂഷൻ-ഷെയർഎലൈക്ക് അനുമതിപത്ര പ്രകാരം ലഭ്യമാണ്; മേൽ നിബന്ധനകൾ ഉണ്ടായേക്കാം. കൂടുതൽ വിവരങ്ങൾക്ക് ഉപയോഗനിബന്ധനകൾ കാണുക.