vMix Forums
»
General
»
3rd Party Software and Development
»
Very Easy Scripting Question - Text removal!
Rank: Member
Groups: Registered
Joined: 10/21/2020(UTC) Posts: 17 Location: Bulkington Thanks: 5 times
|
So, all i'm trying to do is remove the first 5 characters from some text! I know that; Quote:CT1.remove(CT1.Length -5) will remove text from the end (CT1 being the variable), but I just can't figure out how to do it the other side! I've looked at VBScript help and tutorials (places like: www.w3schools.com), but cannot seem to get what should be an easy script to work :D any help is appreciated!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,243 Location: Belgium Thanks: 294 times Was thanked: 960 time(s) in 794 post(s)
|
Do not look for vb examples but vb.net examples !
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 10/21/2020(UTC) Posts: 17 Location: Bulkington Thanks: 5 times
|
it's as a string to drop into a title
simple really, i just want to remote the "Call " from the callers, so I can just have their name!
I'll look for vb.net that may help me with other scripting issues :D
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,243 Location: Belgium Thanks: 294 times Was thanked: 960 time(s) in 794 post(s)
|
there is an example on how to get a caller name script in the "scripting for dummies" post !!
The helpfiles do specify it is vb.net !
also string.Substring(0, string.Length - 5))
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 10/21/2020(UTC) Posts: 17 Location: Bulkington Thanks: 5 times
|
Originally Posted by: doggy Do not look for vb examples but vb.net examples ! Yep that helped a LOT!! haha sorted! Quote:CT2 = CT1.replace("Call ", "") I will tattoo vb.net onto my right arm lol!
|
|
|
|
vMix Forums
»
General
»
3rd Party Software and Development
»
Very Easy Scripting Question - Text removal!
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close