Tags » Substring

Extract string before a special character

Here is an easy way to get (extract) all of the characters before a special character in a string.  In our example we have a listing of email addresses and we want to get the name before the @domain. 241 more words

Hints And Tips

Replace Substring In String Using Nintex Workflows In SharePoint 2013 And Office 365

Welcome to an article on how to replace substring in string in SharePoint 2013 and Office 365 using Nintex Workflows.This article will display the action “Replace Substring in String” so that all my developer friends don’t have to spend much time and effort while using this function in their projects. 357 more words

substr() vs substring() in JavaScript

substring() and substr() are among the most popular methods in JavaScript.

But, for a new developer, it creates confusion which one to use.

thought of clearing the minor difference that exists between these two APIs. 55 more words

JavaScript

substr() vs substring() in JavaScript

substring() and substr() are among the most popular methods in JavaScript.

But, for a new developer, it creates confusion which one to use.

thought of clearing the minor difference that exists between these two APIs. 55 more words

JavaScript

Capitalize a string

When you look at your data, do you see a mish mash of formats?  Do some people use camel case, some all lowercase, some upper?  Here is a quick script that you can use to capitalize the first letter in your single word strings. 504 more words

Hints And Tips

Find substring in string in Assembly - masm 8086


org 100h
.data
buf1 DB "Enter String :::: $"
buf2 DB 0dh,0ah,"Enter Substring to search :::: $"
buf3 DB 0dh,0ah,"Substring Found $",1
buf4 DB 0dh,0ah,"Substring not Found...$"
193 more words

Assembly

What is the syntax to return a substring?

#to return a single character
#use (-) sign to reverse order of index, keep in mind that -0 and 0 are the same
"<your string here>"[<index of the character you want to return>] 60 more words